cvs: ZendEngine2(PHP_5_3) / zend_API.h zend_execute_API.c

From: Date: Tue, 12 Aug 2008 21:45:52 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_API.h zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7041@lists.php.net to get a copy of this message
nlopess Tue Aug 12 21:45:52 2008 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend_API.h zend_execute_API.c Log: mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.h?r1=1.207.2.8.2.8.2.17&r2=1.207.2.8.2.8.2.18&diff_format=u Index: ZendEngine2/zend_API.h diff -u ZendEngine2/zend_API.h:1.207.2.8.2.8.2.17 ZendEngine2/zend_API.h:1.207.2.8.2.8.2.18 --- ZendEngine2/zend_API.h:1.207.2.8.2.8.2.17 Tue Aug 12 17:20:24 2008 +++ ZendEngine2/zend_API.h Tue Aug 12 21:45:52 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.h,v 1.207.2.8.2.8.2.17 2008/08/12 17:20:24 felipe Exp $ */ +/* $Id: zend_API.h,v 1.207.2.8.2.8.2.18 2008/08/12 21:45:52 nlopess Exp $ */ #ifndef ZEND_API_H #define ZEND_API_H @@ -427,8 +427,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.331.2.20.2.24.2.53&r2=1.331.2.20.2.24.2.54&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.331.2.20.2.24.2.53 ZendEngine2/zend_execute_API.c:1.331.2.20.2.24.2.54 --- ZendEngine2/zend_execute_API.c:1.331.2.20.2.24.2.53 Mon Aug 11 17:44:15 2008 +++ ZendEngine2/zend_execute_API.c Tue Aug 12 21:45:52 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.331.2.20.2.24.2.53 2008/08/11 17:44:15 helly Exp $ */ +/* $Id: zend_execute_API.c,v 1.331.2.20.2.24.2.54 2008/08/12 21:45:52 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 (#7041) next »