/src/php-src/Zend/zend_weakrefs_arginfo.h
Line | Count | Source |
1 | | /* This is a generated file, edit the .stub.php file instead. |
2 | | * Stub hash: d91889851d9732d41e43fffddb6235d033c67534 */ |
3 | | |
4 | | ZEND_BEGIN_ARG_INFO_EX(arginfo_class_WeakReference___construct, 0, 0, 0) |
5 | | ZEND_END_ARG_INFO() |
6 | | |
7 | | ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_WeakReference_create, 0, 1, WeakReference, 0) |
8 | | ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0) |
9 | | ZEND_END_ARG_INFO() |
10 | | |
11 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakReference_get, 0, 0, IS_OBJECT, 1) |
12 | | ZEND_END_ARG_INFO() |
13 | | |
14 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakMap_offsetGet, 0, 1, IS_MIXED, 0) |
15 | | ZEND_ARG_INFO(0, object) |
16 | | ZEND_END_ARG_INFO() |
17 | | |
18 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakMap_offsetSet, 0, 2, IS_VOID, 0) |
19 | | ZEND_ARG_INFO(0, object) |
20 | | ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0) |
21 | | ZEND_END_ARG_INFO() |
22 | | |
23 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakMap_offsetExists, 0, 1, _IS_BOOL, 0) |
24 | | ZEND_ARG_INFO(0, object) |
25 | | ZEND_END_ARG_INFO() |
26 | | |
27 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakMap_offsetUnset, 0, 1, IS_VOID, 0) |
28 | | ZEND_ARG_INFO(0, object) |
29 | | ZEND_END_ARG_INFO() |
30 | | |
31 | | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakMap_count, 0, 0, IS_LONG, 0) |
32 | | ZEND_END_ARG_INFO() |
33 | | |
34 | | ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_WeakMap_getIterator, 0, 0, Iterator, 0) |
35 | | ZEND_END_ARG_INFO() |
36 | | |
37 | | ZEND_METHOD(WeakReference, __construct); |
38 | | ZEND_METHOD(WeakReference, create); |
39 | | ZEND_METHOD(WeakReference, get); |
40 | | ZEND_METHOD(WeakMap, offsetGet); |
41 | | ZEND_METHOD(WeakMap, offsetSet); |
42 | | ZEND_METHOD(WeakMap, offsetExists); |
43 | | ZEND_METHOD(WeakMap, offsetUnset); |
44 | | ZEND_METHOD(WeakMap, count); |
45 | | ZEND_METHOD(WeakMap, getIterator); |
46 | | |
47 | | static const zend_function_entry class_WeakReference_methods[] = { |
48 | | ZEND_ME(WeakReference, __construct, arginfo_class_WeakReference___construct, ZEND_ACC_PUBLIC) |
49 | | ZEND_ME(WeakReference, create, arginfo_class_WeakReference_create, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) |
50 | | ZEND_ME(WeakReference, get, arginfo_class_WeakReference_get, ZEND_ACC_PUBLIC) |
51 | | ZEND_FE_END |
52 | | }; |
53 | | |
54 | | static const zend_function_entry class_WeakMap_methods[] = { |
55 | | ZEND_ME(WeakMap, offsetGet, arginfo_class_WeakMap_offsetGet, ZEND_ACC_PUBLIC) |
56 | | ZEND_ME(WeakMap, offsetSet, arginfo_class_WeakMap_offsetSet, ZEND_ACC_PUBLIC) |
57 | | ZEND_ME(WeakMap, offsetExists, arginfo_class_WeakMap_offsetExists, ZEND_ACC_PUBLIC) |
58 | | ZEND_ME(WeakMap, offsetUnset, arginfo_class_WeakMap_offsetUnset, ZEND_ACC_PUBLIC) |
59 | | ZEND_ME(WeakMap, count, arginfo_class_WeakMap_count, ZEND_ACC_PUBLIC) |
60 | | ZEND_ME(WeakMap, getIterator, arginfo_class_WeakMap_getIterator, ZEND_ACC_PUBLIC) |
61 | | ZEND_FE_END |
62 | | }; |
63 | | |
64 | | static zend_class_entry *register_class_WeakReference(void) |
65 | 16 | { |
66 | 16 | zend_class_entry ce, *class_entry; |
67 | | |
68 | 16 | INIT_CLASS_ENTRY(ce, "WeakReference", class_WeakReference_methods); |
69 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE); |
70 | | |
71 | 16 | return class_entry; |
72 | 16 | } |
73 | | |
74 | | static zend_class_entry *register_class_WeakMap(zend_class_entry *class_entry_ArrayAccess, zend_class_entry *class_entry_Countable, zend_class_entry *class_entry_IteratorAggregate) |
75 | 16 | { |
76 | 16 | zend_class_entry ce, *class_entry; |
77 | | |
78 | 16 | INIT_CLASS_ENTRY(ce, "WeakMap", class_WeakMap_methods); |
79 | 16 | class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE); |
80 | 16 | zend_class_implements(class_entry, 3, class_entry_ArrayAccess, class_entry_Countable, class_entry_IteratorAggregate); |
81 | | |
82 | 16 | return class_entry; |
83 | 16 | } |