cvs: ZendEngine2(PHP_5_3) / zend_object_handlers.c
[email protected] ("Felipe Pena") Fri, 12 Jun 2009 21:36:53 -0000
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvsfelipe1244842613@cvsserver> |
felipe Fri Jun 12 21:36:53 2009 UTC
Modified files: (Branch: PHP_5_3)
/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.135.2.6.2.22.2.28&r2=1.135.2.6.2.22.2.29&diff_format=u
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.135.2.6.2.22.2.28 ZendEngine2/zend_object_handlers.c:1.135.2.6.2.22.2.29
--- ZendEngine2/zend_object_handlers.c:1.135.2.6.2.22.2.28 Fri Jun 12 01:05:25 2009
+++ ZendEngine2/zend_object_handlers.c Fri Jun 12 21:36:53 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_object_handlers.c,v 1.135.2.6.2.22.2.28 2009/06/12 01:05:25 felipe Exp $ */
+/* $Id: zend_object_handlers.c,v 1.135.2.6.2.22.2.29 2009/06/12 21:36:53 felipe Exp $ */
#include "zend.h"
#include "zend_globals.h"
@@ -777,7 +777,7 @@
}
/* }}} */
-static inline union _zend_function *zend_get_user_call_function(zend_class_entry *ce, char *method_name, int method_len) /* {{{ */
+static inline union _zend_function *zend_get_user_call_function(zend_class_entry *ce, const char *method_name, int method_len) /* {{{ */
{
zend_internal_function *call_user_call = emalloc(sizeof(zend_internal_function));
call_user_call->type = ZEND_INTERNAL_FUNCTION;
@@ -912,7 +912,7 @@
}
/* }}} */
-static inline union _zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, char *method_name, int method_len) /* {{{ */
+static inline union _zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, const char *method_name, int method_len) /* {{{ */
{
zend_internal_function *callstatic_user_call = emalloc(sizeof(zend_internal_function));
callstatic_user_call->type = ZEND_INTERNAL_FUNCTION;