cvs: ZendEngine2 / zend_object_handlers.c
[email protected] ("Felipe Pena") Fri, 12 Jun 2009 21:43:22 -0000
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvsfelipe1244843002@cvsserver> |
felipe Fri Jun 12 21:43:22 2009 UTC
Modified files:
/ZendEngine2 zend_object_handlers.c
Log:
- Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function()
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_object_handlers.c?r1=1.217&r2=1.218&diff_format=u
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.217 ZendEngine2/zend_object_handlers.c:1.218
--- ZendEngine2/zend_object_handlers.c:1.217 Fri Jun 12 01:00:30 2009
+++ ZendEngine2/zend_object_handlers.c Fri Jun 12 21:43:22 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_object_handlers.c,v 1.217 2009/06/12 01:00:30 felipe Exp $ */
+/* $Id: zend_object_handlers.c,v 1.218 2009/06/12 21:43:22 felipe Exp $ */
#include "zend.h"
#include "zend_globals.h"
@@ -782,7 +782,7 @@
}
/* }}} */
-static inline union _zend_function *zend_get_user_call_function(zend_class_entry *ce, zstr method_name, int method_len) /* {{{ */
+static inline union _zend_function *zend_get_user_call_function(zend_class_entry *ce, const zstr method_name, int method_len) /* {{{ */
{
zend_internal_function *call_user_call = emalloc(sizeof(zend_internal_function));
@@ -920,7 +920,7 @@
}
/* }}} */
-static inline union _zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, zstr method_name, int method_len) /* {{{ */
+static inline union _zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, const zstr method_name, int method_len) /* {{{ */
{
zend_internal_function *callstatic_user_call = emalloc(sizeof(zend_internal_function));
callstatic_user_call->type = ZEND_INTERNAL_FUNCTION;