diff options
author | Marcus Boerger <helly@php.net> | 2006-07-20 22:54:21 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-07-20 22:54:21 +0000 |
commit | 45d09c71ba64dda7d1240a4ff69dcd16e21230b0 (patch) | |
tree | 375762ca1b9095ec9f3d0079f112ed8dd3dd5ce2 /ext/spl/spl_functions.h | |
parent | 6fb763c4f99d79df385777b18ff9b050e1465744 (diff) | |
download | php-git-45d09c71ba64dda7d1240a4ff69dcd16e21230b0.tar.gz |
- Synch RegexIterator with HEAD
Diffstat (limited to 'ext/spl/spl_functions.h')
-rwxr-xr-x | ext/spl/spl_functions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/spl_functions.h b/ext/spl/spl_functions.h index ac7a0ca89b..6b464db84f 100755 --- a/ext/spl/spl_functions.h +++ b/ext/spl/spl_functions.h @@ -49,8 +49,8 @@ typedef zend_object_value (*create_object_func_t)(zend_class_entry *class_type T #define REGISTER_SPL_FUNCTIONS(class_name, function_list) \ spl_register_functions(spl_ce_ ## class_name, function_list TSRMLS_CC); -#define REGISTER_SPL_PROPERTY(class_name, prop_name) \ - spl_register_property(spl_ce_ ## class_name, prop_name, prop_val, prop_flags TSRMLS_CC); +#define REGISTER_SPL_PROPERTY(class_name, prop_name, prop_flags) \ + spl_register_property(spl_ce_ ## class_name, prop_name, sizeof(prop_name)-1, prop_flags TSRMLS_CC); #define REGISTER_SPL_CLASS_CONST_LONG(class_name, const_name, value) \ zend_declare_class_constant_long(spl_ce_ ## class_name, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC); @@ -64,7 +64,7 @@ void spl_register_interface(zend_class_entry ** ppce, char * class_name, zend_fu void spl_register_parent_ce(zend_class_entry * class_entry, zend_class_entry * parent_class TSRMLS_DC); void spl_register_functions(zend_class_entry * class_entry, zend_function_entry * function_list TSRMLS_DC); -void spl_register_property( zend_class_entry * class_entry, char *prop_name, zval *prop_val, int prop_flags TSRMLS_DC); +void spl_register_property( zend_class_entry * class_entry, char *prop_name, int prop_name_len, int prop_flags TSRMLS_DC); /* sub: whether to allow subclasses/interfaces allow = 0: allow all classes and interfaces |