Changeset 860 in svn for trunk/processor/process.m4


Ignore:
Timestamp:
2012-03-29T04:54:33+02:00 (3 years ago)
Author:
Xuefer
Message:

kill warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/process.m4

    r844 r860  
    1515dnl }}}
    1616define(`PROCESS_xc_ztstring', `dnl {{{ (1:elm)
     17    pushdef(`REALPTRTYPE', `zend_class_entry')
    1718    PROC_STRING(`$1')
     19    popdef(`REALPTRTYPE')
    1820')
    1921dnl }}}
     
    7476    )
    7577')
    76 define(`PROCESS_ARRAY', `dnl {{{ (1:count, 2:type, 3:elm, [4:force_type])
     78define(`PROCESS_ARRAY', `dnl {{{ (1:count, 2:type, 3:elm, [4:real_type])
    7779    if (src->$3) {
    7880        int LOOPCOUNTER;
     
    8789                    ++LOOPCOUNTER) {
    8890                pushdef(`dst', `arr')
    89                 pushdef(`SRC', defn(`SRC') `[LOOPCOUNTER]')
     91                pushdef(`SRC', `ifelse(`$4', `', `', `', `', `($2)')' defn(`SRC') `[LOOPCOUNTER]')
    9092                popdef(`add_assoc_bool_ex', `add_next_index_bool($1, $3)')
    9193                popdef(`add_assoc_string_ex', `add_next_index_string($1, $3)')
     
    125127                DISABLECHECK(`
    126128                    pushdef(`DST', defn(`DST') `[LOOPCOUNTER]')
    127                     pushdef(`SRC', ((const char **) defn(`SRC'))`[LOOPCOUNTER]')
     129                    pushdef(`SRC', `ifelse(`$4', `', `', `', `', `($2)')' defn(`SRC') `[LOOPCOUNTER]')
    128130                    PROCESS(`$2', `$3')
    129131                    popdef(`SRC')
Note: See TracChangeset for help on using the changeset viewer.