Searched refs:obj_ctor (Results 1 – 2 of 2) sorted by relevance
/PHP-7.4/ext/spl/ |
H A D | spl_functions.h | 26 #define REGISTER_SPL_STD_CLASS(class_name, obj_ctor) \ argument 27 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, NULL); 29 #define REGISTER_SPL_STD_CLASS_EX(class_name, obj_ctor, funcs) \ argument 30 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, funcs); 32 #define REGISTER_SPL_SUB_CLASS_EX(class_name, parent_class_name, obj_ctor, funcs) \ argument 33 …ter_sub_class(&spl_ce_ ## class_name, spl_ce_ ## parent_class_name, # class_name, obj_ctor, funcs);
|
H A D | spl_functions.c | 39 PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, co… in spl_register_std_class() argument 47 if (obj_ctor) { in spl_register_std_class() 48 (*ppce)->create_object = obj_ctor; in spl_register_std_class() 54 …s_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, const zend_funct… in spl_register_sub_class() argument 62 if (obj_ctor) { in spl_register_sub_class() 63 (*ppce)->create_object = obj_ctor; in spl_register_sub_class()
|
Completed in 4 milliseconds