cvs: ZendEngine2 / zend_API.h zend_execute_API.c

From: Date: Tue, 12 Aug 2008 21:52:55 +0000
Subject: cvs: ZendEngine2 / zend_API.h zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7042@lists.php.net to get a copy of this message
nlopess Tue Aug 12 21:52:55 2008 UTC Modified files: /ZendEngine2 zend_API.h zend_execute_API.c Log: MFB: move empty_fcall_info* to const table http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.h?r1=1.307&r2=1.308&diff_format=u Index: ZendEngine2/zend_API.h diff -u ZendEngine2/zend_API.h:1.307 ZendEngine2/zend_API.h:1.308 --- ZendEngine2/zend_API.h:1.307 Tue Aug 12 17:15:59 2008 +++ ZendEngine2/zend_API.h Tue Aug 12 21:52:54 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.h,v 1.307 2008/08/12 17:15:59 felipe Exp $ */ +/* $Id: zend_API.h,v 1.308 2008/08/12 21:52:54 nlopess Exp $ */ #ifndef ZEND_API_H #define ZEND_API_H @@ -1556,8 +1556,8 @@ ZEND_API int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC); ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); -ZEND_API extern zend_fcall_info empty_fcall_info; -ZEND_API extern zend_fcall_info_cache empty_fcall_info_cache; +ZEND_API extern const zend_fcall_info empty_fcall_info; +ZEND_API extern const zend_fcall_info_cache empty_fcall_info_cache; /** Build zend_call_info/cache from a zval* * http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute_API.c?r1=1.459&r2=1.460&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.459 ZendEngine2/zend_execute_API.c:1.460 --- ZendEngine2/zend_execute_API.c:1.459 Mon Aug 11 17:33:02 2008 +++ ZendEngine2/zend_execute_API.c Tue Aug 12 21:52:54 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.459 2008/08/11 17:33:02 helly Exp $ */ +/* $Id: zend_execute_API.c,v 1.460 2008/08/12 21:52:54 nlopess Exp $ */ #include <stdio.h> #include <signal.h> @@ -40,8 +40,8 @@ ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data_ptr, int return_value_used TSRMLS_DC); /* true globals */ -ZEND_API zend_fcall_info empty_fcall_info = { 0, NULL, NULL, NULL, NULL, 0, NULL, NULL, 0 }; -ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { 0, NULL, NULL, NULL, NULL }; +ZEND_API const zend_fcall_info empty_fcall_info = { 0, NULL, NULL, NULL, NULL, 0, NULL, NULL, 0 }; +ZEND_API const zend_fcall_info_cache empty_fcall_info_cache = { 0, NULL, NULL, NULL, NULL }; #ifdef ZEND_WIN32 #include <process.h>

« previous php.zend-engine.cvs (#7042) next »