-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphp_trie_ext.h
More file actions
51 lines (42 loc) · 1.69 KB
/
php_trie_ext.h
File metadata and controls
51 lines (42 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Lochemem Bruno Michael |
+----------------------------------------------------------------------+
*/
#ifndef PHP_TRIE_EXT_H
#define PHP_TRIE_EXT_H
#define PHP_TRIE_EXT_EXTNAME "php_trie"
#define PHP_TRIE_EXT_EXTVER "0.1.2"
#define IS_HATTRIE 1
#define IS_TRIE 2
#define ZEND_API_PHP80 20200930
#define ZEND_API_PHP74 20190902
#define ZEND_API_PHP73 20180731
const long DEFAULT_BURST_THRESHOLD = 16384;
const float DEFAULT_LOAD_FACTOR = 8.0f;
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
extern "C"
{
#include "php.h"
#include "zend_interfaces.h"
#include "zend_exceptions.h"
#include "ext/standard/info.h"
#include "ext/json/php_json.h"
#include "ext/standard/php_var.h"
#include "ext/standard/php_array.h"
}
extern zend_module_entry php_trie_module_entry;
#define phptrie_ext_ptr &php_trie_module_entry;
#endif // PHP_TRIE_EXT_H