Changeset 770
- Timestamp:
- 2011-04-18T10:11:59+02:00 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
processor/head.m4 (modified) (2 diffs)
-
xcache.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/processor/head.m4
r737 r770 141 141 #define C_RELAYLINE , __LINE__ 142 142 ') 143 static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, const zstr const str, long size IFASSERT(`, int relayline')) {143 static inline void xc_calc_string_n(xc_processor_t *processor, zend_uchar type, const_zstr const str, long size IFASSERT(`, int relayline')) { 144 144 pushdef(`__LINE__', `relayline') 145 145 int realsize = UNISW(size, (type == IS_UNICODE) ? UBYTES(size) : size); … … 163 163 /* {{{ xc_store_string_n */ 164 164 REDEF(`KIND', `store') 165 static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type, const zstr const str, long size IFASSERT(`, int relayline')) {165 static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type, const_zstr const str, long size IFASSERT(`, int relayline')) { 166 166 pushdef(`__LINE__', `relayline') 167 167 int realsize = UNISW(size, (type == IS_UNICODE) ? UBYTES(size) : size); -
trunk/xcache.h
r769 r770 138 138 #ifndef IS_UNICODE 139 139 typedef char *zstr; 140 typedef const char *const_zstr; 140 141 # define ZSTR_S(s) (s) 141 142 # define ZSTR_U(s) (s) … … 145 146 # define ZSTR_PV(s) (s) 146 147 #else 148 typedef const zstr const_zstr; 147 149 # define ZSTR_S(zs) ((zs).s) 148 150 # define ZSTR_U(zs) ((zs).u)
Note: See TracChangeset
for help on using the changeset viewer.

