cvs: spl / spl_functions.c
| From: | Marcus Boerger | Date: | Thu, 23 Oct 2003 07:09:05 +0000 |
| Subject: | cvs: spl / spl_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24220@lists.php.net to get a copy of this message | ||
helly Thu Oct 23 03:09:05 2003 EDT
Modified files:
/spl spl_functions.c
Log:
Update
Index: spl/spl_functions.c
diff -u spl/spl_functions.c:1.16 spl/spl_functions.c:1.17
--- spl/spl_functions.c:1.16 Sat Sep 6 22:37:10 2003
+++ spl/spl_functions.c Thu Oct 23 03:09:04 2003
@@ -72,9 +72,7 @@
/* {{{ spl_register_implement */
void spl_register_implement(zend_class_entry * class_entry, zend_class_entry * interface_entry
TSRMLS_DC)
{
- class_entry->interfaces = realloc(class_entry->interfaces, sizeof(zend_class_entry*) *
(class_entry->num_interfaces+1));
- class_entry->interfaces[class_entry->num_interfaces++] = interface_entry;
- zend_do_implement_interface(class_entry, interface_entry);
+ zend_class_implements(class_entry TSRMLS_CC, 1, interface_entry);
}
/* }}} */