Changeset 662 in svn for trunk/processor/string.m4


Ignore:
Timestamp:
2009-08-03T10:15:53+02:00 (6 years ago)
Author:
Xuefer
Message:

back patch __FILE and __DIR on cache restore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/string.m4

    r658 r662  
    77            STRTYPE, `zstr_char', `char',
    88            `',      `',          `UChar'))
    9     pushdef(`ISTYPE', ifelse(STRTYPE,`zstr_uchar',IS_UNICODE,IS_STRING))
     9    pushdef(`ISTYPE', ifelse(PTRTYPE,`UChar',IS_UNICODE,IS_STRING))
    1010    pushdef(`UNI_STRLEN', ifelse(
    1111            STRTYPE, `zstr_uchar', `xc_zstrlen_uchar',
    1212            STRTYPE, `zstr_char',  `xc_zstrlen_char',
    1313            `',      `',           `strlen'))
    14     pushdef(`SRCSTR', ifelse(STRTYPE,`char',`ZSTR($2)',`$2'))
     14    pushdef(`SRCSTR', ifelse(STRTYPE,`char',`ZSTR($2)',STRTYPE,`UChar',`ZSTR($2)',`$2'))
    1515    pushdef(`SRCPTR', ifelse(
    1616            STRTYPE, `zstr_uchar', `ZSTR_U($2)',
     
    8888dnl PROC_STRING_N(1:name, 2:size, 3:type)
    8989define(`PROC_STRING_N', `DBG(`$0($*)') DONE(`$1')`'PROC_STRING_N_EX(`dst->$1', `src->$1', `src->$2', `$1', `char')')
     90define(`PROC_USTRING_N', `DBG(`$0($*)') DONE(`$1')`'PROC_STRING_N_EX(`dst->$1', `src->$1', `src->$2', `$1', `UChar')')
    9091
    9192define(`PROC_STRING_L', `DBG(`$0($*)') PROC_STRING_N(`$1', `$2 + 1')')
     93define(`PROC_USTRING_L', `DBG(`$0($*)') PROC_USTRING_N(`$1', `$2 + 1')')
    9294define(`PROC_STRING',   `DBG(`$0($*)') DONE(`$1')`'PROC_STRING_N_EX(`dst->$1', `src->$1', `strlen(src->$1) + 1', `$1', `char')')
     95define(`PROC_USTRING',  `DBG(`$0($*)') DONE(`$1')`'PROC_STRING_N_EX(`dst->$1', `src->$1', `strlen(src->$1) + 1', `$1', `UChar')')
    9396
    9497dnl {{{ PROC_ZSTRING_N(1:type, 2:name, 3:size, 4:size_type)
Note: See TracChangeset for help on using the changeset viewer.