Changeset 645 in svn for trunk/processor/head.m4


Ignore:
Timestamp:
2009-07-08T04:39:33Z (6 years ago)
Author:
Xuefer
Message:

reverted r643 as it's a false assertion. try another way to get ride of some const warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r512 r645  
    131131/* {{{ xc_calc_string_n */
    132132REDEF(`KIND', `calc')
    133 static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, zstr str, long size IFASSERT(`, int relayline')) {
     133static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, const zstr str, long size IFASSERT(`, int relayline')) {
    134134    pushdef(`__LINE__', `relayline')
    135135    int realsize = UNISW(size, (type == IS_UNICODE) ? UBYTES(size) : size);
     
    153153/* {{{ xc_store_string_n */
    154154REDEF(`KIND', `store')
    155 static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type, zstr str, long size IFASSERT(`, int relayline')) {
     155static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type, const zstr str, long size IFASSERT(`, int relayline')) {
    156156    pushdef(`__LINE__', `relayline')
    157157    int realsize = UNISW(size, (type == IS_UNICODE) ? UBYTES(size) : size);
Note: See TracChangeset for help on using the changeset viewer.