Ignore:
Timestamp:
2014-05-27T06:53:34+02:00 (12 months ago)
Author:
moo
Message:

WIP PHP_5_6 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r1475 r1486  
    3535define(`ALLOC', `
    3636    pushdef(`COUNT', `ifelse(`$3', `', `1', `$3')')
    37     pushdef(`SIZE', `sizeof($2)ifelse(`$3', `', `', ` * $3')')
     37    ifdef(`ALLOC_SIZE_HELPER', `
     38        pushdef(`SIZE', `ALLOC_SIZE_HELPER()')
     39    ', `
     40        pushdef(`SIZE', `sizeof($2)ifelse(`$3', `', `', ` * $3')')
     41    ')
    3842    pushdef(`REALTYPE', `ifelse(`$5', , `$2', `$5')')
    3943    /* allocate */
Note: See TracChangeset for help on using the changeset viewer.