Changeset 846 for trunk/utils.h


Ignore:
Timestamp:
2012-03-26T11:41:19+02:00 (3 years ago)
Author:
moo
Message:

kill most const warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.h

    r671 r846  
    6969/* installer */ 
    7070#ifdef HAVE_XCACHE_CONSTANT 
    71 void xc_install_constant(char *filename, zend_constant *constant, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC); 
     71void xc_install_constant(ZEND_24(const) char *filename, zend_constant *constant, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC); 
    7272#endif 
    73 void xc_install_function(char *filename, zend_function *func, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC); 
    74 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); 
     73void xc_install_function(ZEND_24(const) char *filename, zend_function *func, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC); 
     74ZESW(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); 
    7575 
    7676#if defined(E_STRICT) || defined(E_DEPRECATED) 
     
    8181typedef struct { 
    8282    int alloc; 
    83     char *filename; 
     83    ZEND_24(const) char *filename; 
    8484 
    8585    HashTable orig_included_files; 
     
    122122 
    123123void xc_zend_class_add_ref(zend_class_entry ZESW(*ce, **ce)); 
    124 xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, char *filename TSRMLS_DC); 
     124xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, ZEND_24(const) char *filename TSRMLS_DC); 
    125125void xc_sandbox_free(xc_sandbox_t *sandbox, xc_install_action_t install TSRMLS_DC); 
    126126 
Note: See TracChangeset for help on using the changeset viewer.