-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsic_arginfo.h
More file actions
71 lines (57 loc) · 2.37 KB
/
sic_arginfo.h
File metadata and controls
71 lines (57 loc) · 2.37 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 5c6c4fcc6fb55a2ebcf6703c0fe8613254f96c3d */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sic_set, 0, 2, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, value, IS_LONG, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, ttl, IS_LONG, 0, "0")
ZEND_END_ARG_INFO()
#define arginfo_sic_add arginfo_sic_set
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sic_del, 0, 1, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_sic_get, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_END_ARG_INFO()
#define arginfo_sic_exists arginfo_sic_del
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_sic_inc, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, inc_value, IS_LONG, 0, "1")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, ttl, IS_LONG, 0, "0")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_sic_dec, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dec_value, IS_LONG, 0, "1")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, ttl, IS_LONG, 0, "0")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sic_cas, 0, 3, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, old_value, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, new_value, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sic_gc, 0, 0, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_sic_info, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
ZEND_END_ARG_INFO()
ZEND_FUNCTION(sic_set);
ZEND_FUNCTION(sic_add);
ZEND_FUNCTION(sic_del);
ZEND_FUNCTION(sic_get);
ZEND_FUNCTION(sic_exists);
ZEND_FUNCTION(sic_inc);
ZEND_FUNCTION(sic_dec);
ZEND_FUNCTION(sic_cas);
ZEND_FUNCTION(sic_gc);
ZEND_FUNCTION(sic_info);
static const zend_function_entry ext_functions[] = {
ZEND_FE(sic_set, arginfo_sic_set)
ZEND_FE(sic_add, arginfo_sic_add)
ZEND_FE(sic_del, arginfo_sic_del)
ZEND_FE(sic_get, arginfo_sic_get)
ZEND_FE(sic_exists, arginfo_sic_exists)
ZEND_FE(sic_inc, arginfo_sic_inc)
ZEND_FE(sic_dec, arginfo_sic_dec)
ZEND_FE(sic_cas, arginfo_sic_cas)
ZEND_FE(sic_gc, arginfo_sic_gc)
ZEND_FE(sic_info, arginfo_sic_info)
ZEND_FE_END
};