helly Sun Jun 4 10:34:22 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/spl spl_functions.c
Log:
- MFH Use engine call to register interfaces (steph)
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_functions.c?r1=1.28.2.3&r2=1.28.2.3.2.1&diff_format=u
Index: php-src/ext/spl/spl_functions.c
diff -u php-src/ext/spl/spl_functions.c:1.28.2.3
php-src/ext/spl/spl_functions.c:1.28.2.3.2.1
--- php-src/ext/spl/spl_functions.c:1.28.2.3 Thu Mar 9 11:43:45 2006
+++ php-src/ext/spl/spl_functions.c Sun Jun 4 10:34:22 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_functions.c,v 1.28.2.3 2006/03/09 11:43:45 sebastian Exp $ */
+/* $Id: spl_functions.c,v 1.28.2.3.2.1 2006/06/04 10:34:22 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -42,10 +42,7 @@
INIT_CLASS_ENTRY(ce, class_name, functions);
ce.name_length = strlen(class_name);
- *ppce = zend_register_internal_class(&ce TSRMLS_CC);
-
- /* entries changed by initialize */
- (*ppce)->ce_flags = ZEND_ACC_INTERFACE;
+ *ppce = zend_register_internal_interface(&ce TSRMLS_CC);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php