cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Thu, 17 Feb 2005 20:54:56 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3397@lists.php.net to get a copy of this message | ||
helly Thu Feb 17 15:54:56 2005 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
- No C++ ruleZ here
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.276&r2=1.277&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.276 ZendEngine2/zend_API.c:1.277
--- ZendEngine2/zend_API.c:1.276 Thu Feb 17 15:49:56 2005
+++ ZendEngine2/zend_API.c Thu Feb 17 15:54:56 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.276 2005/02/17 20:49:56 helly Exp $ */
+/* $Id: zend_API.c,v 1.277 2005/02/17 20:54:56 helly Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -1631,9 +1631,9 @@
ZEND_API void zend_class_implements(zend_class_entry *class_entry TSRMLS_DC, int num_interfaces,
...)
{
zend_class_entry *interface_entry;
+ int ce_num = class_entry->num_interfaces;
va_list interface_list;
va_start(interface_list, num_interfaces);
- int ce_num = class_entry->num_interfaces;
if (class_entry->type & ZEND_INTERNAL_CLASS) {
class_entry->interfaces = realloc(class_entry->interfaces, sizeof(zend_class_entry*) *
(class_entry->num_interfaces+num_interfaces));