cvs: ZendEngine2 / zend_API.h zend_execute_API.c

"Nuno Lopes" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvsnlopess1218577975@cvsserver>
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>



-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.