php-src/ext/sysvshm/sysvshm_arginfo.h
Nikita Popov c9b9f525a9 Include stub hash in generated arginfo files
The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.

This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.

Closes GH-5739.
2020-06-24 09:55:19 +02:00

59 lines
1.9 KiB
C

/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 9a57af33a6658387f706ea121612c0f0eb55e5b3 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_shm_attach, 0, 1, SysvSharedMemory, MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, memsize, IS_LONG, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, perm, IS_LONG, 0, "0666")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shm_detach, 0, 1, _IS_BOOL, 0)
ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shm_has_var, 0, 2, _IS_BOOL, 0)
ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0)
ZEND_ARG_TYPE_INFO(0, variable_key, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_shm_remove arginfo_shm_detach
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shm_put_var, 0, 3, _IS_BOOL, 0)
ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0)
ZEND_ARG_TYPE_INFO(0, variable_key, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, variable, IS_MIXED, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shm_get_var, 0, 2, IS_MIXED, 0)
ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0)
ZEND_ARG_TYPE_INFO(0, variable_key, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_shm_remove_var arginfo_shm_has_var
ZEND_FUNCTION(shm_attach);
ZEND_FUNCTION(shm_detach);
ZEND_FUNCTION(shm_has_var);
ZEND_FUNCTION(shm_remove);
ZEND_FUNCTION(shm_put_var);
ZEND_FUNCTION(shm_get_var);
ZEND_FUNCTION(shm_remove_var);
static const zend_function_entry ext_functions[] = {
ZEND_FE(shm_attach, arginfo_shm_attach)
ZEND_FE(shm_detach, arginfo_shm_detach)
ZEND_FE(shm_has_var, arginfo_shm_has_var)
ZEND_FE(shm_remove, arginfo_shm_remove)
ZEND_FE(shm_put_var, arginfo_shm_put_var)
ZEND_FE(shm_get_var, arginfo_shm_get_var)
ZEND_FE(shm_remove_var, arginfo_shm_remove_var)
ZEND_FE_END
};
static const zend_function_entry class_SysvSharedMemory_methods[] = {
ZEND_FE_END
};