helly           Sun Jun  4 10:31:58 2006 UTC

  Modified files:              
    /php-src/ext/spl    spl_functions.c 
  Log:
  - Use engine call to register interfaces (steph)
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_functions.c?r1=1.35&r2=1.36&diff_format=u
Index: php-src/ext/spl/spl_functions.c
diff -u php-src/ext/spl/spl_functions.c:1.35 
php-src/ext/spl/spl_functions.c:1.36
--- php-src/ext/spl/spl_functions.c:1.35        Thu Mar  9 11:44:05 2006
+++ php-src/ext/spl/spl_functions.c     Sun Jun  4 10:31:58 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_functions.c,v 1.35 2006/03/09 11:44:05 sebastian Exp $ */
+/* $Id: spl_functions.c,v 1.36 2006/06/04 10:31:58 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

Reply via email to