From: Sebastian Bergmann Date: Thu, 9 Mar 2006 11:43:45 +0000 (+0000) Subject: MFH: Make spl_register_std_class() and spl_register_sub_class() available outside... X-Git-Tag: php-5.1.3RC1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1d9cf07cdfae0f6f9fc7416675a009ec310dd4d;p=php MFH: Make spl_register_std_class() and spl_register_sub_class() available outside of SPL, for instance in SPL_Types. --- diff --git a/ext/spl/spl_functions.c b/ext/spl/spl_functions.c index ff2573b4f1..442860fc9a 100755 --- a/ext/spl/spl_functions.c +++ b/ext/spl/spl_functions.c @@ -50,7 +50,7 @@ void spl_register_interface(zend_class_entry ** ppce, char * class_name, zend_fu /* }}} */ /* {{{ spl_register_std_class */ -void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, zend_function_entry * function_list TSRMLS_DC) +PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, zend_function_entry * function_list TSRMLS_DC) { zend_class_entry ce; @@ -66,7 +66,7 @@ void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * /* }}} */ /* {{{ spl_register_sub_class */ -void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, zend_function_entry * function_list TSRMLS_DC) +PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, zend_function_entry * function_list TSRMLS_DC) { zend_class_entry ce;