summaryrefslogtreecommitdiff
path: root/ext/spl/spl_functions.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-03 22:29:20 +0000
committerMarcus Boerger <helly@php.net>2003-08-03 22:29:20 +0000
commit3b4f9d7b58fc2291795488c4dbedaac4d9532b68 (patch)
tree36294d4d18f62af7d009da61ad2b46066a86669b /ext/spl/spl_functions.h
parent1f8fd69e781ad7d1b57bca825a7709051a81594f (diff)
downloadphp-git-3b4f9d7b58fc2291795488c4dbedaac4d9532b68.tar.gz
Latest zend updates
Diffstat (limited to 'ext/spl/spl_functions.h')
-rwxr-xr-xext/spl/spl_functions.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/spl/spl_functions.h b/ext/spl/spl_functions.h
index 0e4871c757..3eddbe0d84 100755
--- a/ext/spl/spl_functions.h
+++ b/ext/spl/spl_functions.h
@@ -30,10 +30,7 @@ typedef zend_object_value (*create_object_func_t)(zend_class_entry *class_type T
spl_register_std_class(&spl_ce_ ## class_name, "spl_" # class_name, obj_ctor, funcs TSRMLS_CC);
#define REGISTER_SPL_INTERFACE(class_name) \
- spl_register_interface(&spl_ce_ ## class_name, "spl_" # class_name TSRMLS_CC);
-
-#define REGISTER_SPL_INTF_FUNC(class_name, function_name) \
- spl_register_interface_function(spl_ce_ ## class_name, # function_name TSRMLS_CC);
+ spl_register_interface(&spl_ce_ ## class_name, "spl_" # class_name, spl_funcs_ ## class_name TSRMLS_CC);
#define REGISTER_SPL_PARENT_CE(class_name, parent_class) \
spl_register_parent_ce(spl_ce_ ## class_name, spl_ce_ ## parent_class TSRMLS_CC);
@@ -51,9 +48,8 @@ void spl_destroy_class(zend_class_entry ** ppce);
void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor, function_entry * function_list TSRMLS_DC);
-void spl_register_interface(zend_class_entry ** ppce, char * class_name TSRMLS_DC);
+void spl_register_interface(zend_class_entry ** ppce, char * class_name, zend_function_entry *functions TSRMLS_DC);
-void spl_register_interface_function(zend_class_entry * class_entry, char * fn_name TSRMLS_DC);
void spl_register_parent_ce(zend_class_entry * class_entry, zend_class_entry * parent_class TSRMLS_DC);
void spl_register_implement(zend_class_entry * class_entry, zend_class_entry * interface_entry TSRMLS_DC);
void spl_register_functions(zend_class_entry * class_entry, function_entry * function_list TSRMLS_DC);