Changeset 846 in svn for trunk/processor


Ignore:
Timestamp:
2012-03-26T09:41:19Z (7 years ago)
Author:
Xuefer
Message:

kill most const warning

Location:
trunk/processor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r844 r846  
    179179#define C_RELAYLINE , __LINE__
    180180')
    181 static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, const_zstr const str, long size IFASSERT(`, int relayline')) {
     181static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, const_zstr str, long size IFASSERT(`, int relayline')) {
    182182    pushdef(`__LINE__', `relayline')
    183183    int realsize = UNISW(size, (type == IS_UNICODE) ? UBYTES(size) : size);
     
    201201/* {{{ xc_store_string_n */
    202202REDEF(`KIND', `store')
    203 static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type, const_zstr const str, long size IFASSERT(`, int relayline')) {
     203static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type, const_zstr str, long size IFASSERT(`, int relayline')) {
    204204    pushdef(`__LINE__', `relayline')
    205205    int realsize = UNISW(size, (type == IS_UNICODE) ? UBYTES(size) : size);
  • trunk/processor/processor.m4

    r844 r846  
    411411    COPYNULL(traits)
    412412    COPYZERO(num_traits)
     413    STRUCT_ARRAY(, zend_trait_alias_ptr, trait_aliases)
     414    STRUCT_ARRAY(, zend_trait_precedence_ptr, trait_precedences)
    413415#   endif
    414416#else
     
    426428    PROCESS(zend_uint, num_interfaces)
    427429#endif
    428     STRUCT_ARRAY(, zend_trait_alias_ptr, trait_aliases)
    429     STRUCT_ARRAY(, zend_trait_precedence_ptr, trait_precedences)
    430430
    431431#   ifdef ZEND_ENGINE_2_4
Note: See TracChangeset for help on using the changeset viewer.