mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
mostly fixes to spl, but also some other
This commit is contained in:
parent
977cf1dc11
commit
90d6f60bc1
25 changed files with 160 additions and 160 deletions
|
@ -47,7 +47,7 @@ typedef zend_object* (*create_object_func_t)(zend_class_entry *class_type TSRMLS
|
|||
spl_register_property(spl_ce_ ## class_name, prop_name, sizeof(prop_name)-1, prop_flags TSRMLS_CC);
|
||||
|
||||
#define REGISTER_SPL_CLASS_CONST_INT(class_name, const_name, value) \
|
||||
zend_declare_class_constant_int(spl_ce_ ## class_name, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC);
|
||||
zend_declare_class_constant_int(spl_ce_ ## class_name, const_name, sizeof(const_name)-1, (php_int_t)value TSRMLS_CC);
|
||||
|
||||
void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list TSRMLS_DC);
|
||||
void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list TSRMLS_DC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue