Changeset 691
- Timestamp:
- 05/29/2010 05:47:17 PM (3 years ago)
- Location:
- branches/1.3
- Files:
-
- 4 modified
-
. (modified) (1 prop)
-
processor/head.m4 (modified) (1 diff)
-
processor/main.m4 (modified) (1 diff)
-
processor/string.m4 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/processor/head.m4
r646 r691 130 130 /* {{{ xc_calc_string_n */ 131 131 REDEF(`KIND', `calc') 132 #undef C_RELAYLINE 133 #define C_RELAYLINE 134 IFASSERT(` 135 #undef C_RELAYLINE 136 #define C_RELAYLINE , __LINE__ 137 ') 132 138 static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, const zstr str, long size IFASSERT(`, int relayline')) { 133 139 pushdef(`__LINE__', `relayline') -
branches/1.3/processor/main.m4
r626 r691 122 122 ') 123 123 dnl }}} 124 dnl {{{ IFASSERTEX 125 define(`IFASSERTEX', `ifdef(`XCACHE_ENABLE_TEST', `$1', `$2')') 126 dnl }}} 124 127 dnl {{{ IFASSERT 125 define(`IFASSERT', ` ifdef(`XCACHE_ENABLE_TEST',`128 define(`IFASSERT', `IFASSERTEX(` 126 129 #ifndef NDEBUG 127 130 $1 -
branches/1.3/processor/string.m4
r646 r691 59 59 ') 60 60 ') 61 IFCALC(`xc_calc_string_n(processor, ISTYPE, ZSTR(SRCSTR), $3 IFASSERT(`, __LINE__'));')62 IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, ZSTR(SRCSTR), $3 IFASSERT(`, __LINE__')));')61 IFCALC(`xc_calc_string_n(processor, ISTYPE, ZSTR(SRCSTR), $3 C_RELAYLINE);') 62 IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, ZSTR(SRCSTR), $3 C_RELAYLINE));') 63 63 IFRESTORE(` 64 64 DSTPTR = e`'U`'strndup(SRCPTR, ($3) - 1);

