xref: /PHP-8.0/ext/shmop/shmop_arginfo.h (revision 01b239b6)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 81173e82e0378d5b5c729a3cce8561e0ca56e092 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_shmop_open, 0, 4, Shmop, MAY_BE_FALSE)
5 	ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
6 	ZEND_ARG_TYPE_INFO(0, mode, IS_STRING, 0)
7 	ZEND_ARG_TYPE_INFO(0, permissions, IS_LONG, 0)
8 	ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
9 ZEND_END_ARG_INFO()
10 
11 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_read, 0, 3, IS_STRING, 0)
12 	ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
13 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
14 	ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
15 ZEND_END_ARG_INFO()
16 
17 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_close, 0, 1, IS_VOID, 0)
18 	ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
19 ZEND_END_ARG_INFO()
20 
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_size, 0, 1, IS_LONG, 0)
22 	ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
23 ZEND_END_ARG_INFO()
24 
25 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_write, 0, 3, IS_LONG, 0)
26 	ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
27 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
28 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
29 ZEND_END_ARG_INFO()
30 
31 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_delete, 0, 1, _IS_BOOL, 0)
32 	ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
33 ZEND_END_ARG_INFO()
34 
35 
36 ZEND_FUNCTION(shmop_open);
37 ZEND_FUNCTION(shmop_read);
38 ZEND_FUNCTION(shmop_close);
39 ZEND_FUNCTION(shmop_size);
40 ZEND_FUNCTION(shmop_write);
41 ZEND_FUNCTION(shmop_delete);
42 
43 
44 static const zend_function_entry ext_functions[] = {
45 	ZEND_FE(shmop_open, arginfo_shmop_open)
46 	ZEND_FE(shmop_read, arginfo_shmop_read)
47 	ZEND_DEP_FE(shmop_close, arginfo_shmop_close)
48 	ZEND_FE(shmop_size, arginfo_shmop_size)
49 	ZEND_FE(shmop_write, arginfo_shmop_write)
50 	ZEND_FE(shmop_delete, arginfo_shmop_delete)
51 	ZEND_FE_END
52 };
53 
54 
55 static const zend_function_entry class_Shmop_methods[] = {
56 	ZEND_FE_END
57 };
58