For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > March 2005 > cvs: ZendEngine2 / zend_interfaces.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 / zend_interfaces.c
Marcus Boerger

2005-03-13, 3:55 pm

helly Sun Mar 13 11:34:37 2005 EDT

Modified files:
/ZendEngine2 zend_interfaces.c
Log:
- More exact signatures (even though complete correct not possible atm)

http://cvs.php.net/diff.php/ZendEng...28&r2=1.29&ty=u
Index: ZendEngine2/zend_interfaces.c
diff -u ZendEngine2/zend_interfaces.c:1.28 ZendEngine2/zend_interfaces.c:1.29
--- ZendEngine2/zend_interfaces.c:1.28 Mon Mar 7 17:23:13 2005
+++ ZendEngine2/zend_interfaces.c Sun Mar 13 11:34:37 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend_interfaces.c,v 1.28 2005/03/07 22:23:13 helly Exp $ */
+/* $Id: zend_interfaces.c,v 1.29 2005/03/13 16:34:37 helly Exp $ */

#include "zend.h"
#include "zend_API.h"
@@ -484,19 +484,24 @@
zend_function_entry *zend_funcs_traversable = NULL;

static
- ZEND_BEGIN_ARG_INFO(arginfo_arrayaccess_
offset, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_arrayacc
ess_offset, 0, 0, 1)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO();

static
- ZEND_BEGIN_ARG_INFO(arginfo_arrayaccess_
offset_value, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_arrayacc
ess_offset_get, 0, 0, 1) /* actually this should be return by ref but atm cannot be */
+ ZEND_ARG_INFO(0, offset)
+ZEND_END_ARG_INFO();
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_arrayacc
ess_offset_value, 0, 0, 2)
ZEND_ARG_INFO(0, offset)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO();

zend_function_entry zend_funcs_arrayaccess[] = {
ZEND_ABSTRACT_ME(arrayaccess, offsetExists, arginfo_arrayaccess_offset)
- ZEND_ABSTRACT_ME(arrayaccess, offsetGet, arginfo_arrayaccess_offset)
+ ZEND_ABSTRACT_ME(arrayaccess, offsetGet, arginfo_arrayaccess_offset_get)
ZEND_ABSTRACT_ME(arrayaccess, offsetSet, arginfo_arrayaccess_offset_value)
ZEND_ABSTRACT_ME(arrayaccess, offsetUnset, arginfo_arrayaccess_offset)
{NULL, NULL, NULL}
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com