Changeset 846 for trunk/utils.c
- Timestamp:
- 03/26/2012 11:41:19 AM (14 months ago)
- Files:
-
- 1 modified
-
trunk/utils.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r829 r846 482 482 483 483 #ifdef HAVE_XCACHE_CONSTANT 484 void xc_install_constant( char *filename, zend_constant *constant, zend_uchar type,zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */484 void xc_install_constant(ZEND_24(const) char *filename, zend_constant *constant, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */ 485 485 { 486 486 if (zend_u_hash_add(EG(zend_constants), type, key, len, … … 502 502 /* }}} */ 503 503 #endif 504 void xc_install_function( char *filename, zend_function *func, zend_uchar type,zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */504 void xc_install_function(ZEND_24(const) char *filename, zend_function *func, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */ 505 505 { 506 506 zend_bool istmpkey; … … 532 532 } 533 533 /* }}} */ 534 ZESW(xc_cest_t *, void) xc_install_class( char *filename, xc_cest_t *cest, int oplineno, zend_uchar type,zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */534 ZESW(xc_cest_t *, void) xc_install_class(ZEND_24(const) char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */ 535 535 { 536 536 zend_bool istmpkey; … … 630 630 #endif 631 631 #ifdef ZEND_ENGINE_2_1 632 static zend_bool xc_auto_global_callback( char *name, uint name_len TSRMLS_DC) /* {{{ */632 static zend_bool xc_auto_global_callback(ZEND_24(const) char *name, uint name_len TSRMLS_DC) /* {{{ */ 633 633 { 634 634 return 0; … … 710 710 /* }}} */ 711 711 #endif 712 xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, char *filename TSRMLS_DC) /* {{{ */712 xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, ZEND_24(const) char *filename TSRMLS_DC) /* {{{ */ 713 713 { 714 714 HashTable *h;

