Changeset 1443 in svn for trunk/processor/main.m4


Ignore:
Timestamp:
2013-11-06T18:29:26+01:00 (20 months ago)
Author:
Xuefer
Message:

simplify export code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r1442 r1443  
    128128')')
    129129dnl }}}
    130 dnl {{{ EXPORT(1:type, 2:processor)
    131 define(`EXPORT', `define(`EXPORT_$1_$2', 1)')
     130dnl {{{ EXPORT(1:code)
     131define(`EXPORT', `/* export: $1 :export */')
     132define(`EXPORTED', `EXPORT(`$1;')
     133$1')
     134dnl }}}
     135dnl {{{ EXPORT_PROCESSOR(1:type, 2:processor)
     136define(`EXPORT_PROCESSOR', `define(`EXPORT_$1_$2', 1)')
    132137dnl }}}
    133138dnl {{{ FIXPOINTER(1:type, 2:ele)
     
    244249dnl }}}
    245250
    246 EXPORT(`dasm', `zend_op_array')
    247 EXPORT(`dasm', `zend_function')
    248 EXPORT(`dasm', `zend_class_entry')
    249 
    250 EXPORT(`calc',    `xc_entry_data_php_t')
    251 EXPORT(`calc',    `xc_entry_php_t')
    252 EXPORT(`calc',    `xc_entry_var_t')
    253 EXPORT(`store',   `xc_entry_data_php_t')
    254 EXPORT(`store',   `xc_entry_php_t')
    255 EXPORT(`store',   `xc_entry_var_t')
    256 EXPORT(`restore', `xc_entry_data_php_t')
    257 EXPORT(`restore', `xc_entry_php_t')
    258 EXPORT(`dasm',    `xc_entry_data_php_t')
    259 EXPORT(`dprint',  `xc_entry_php_t')
    260 
    261 EXPORT(`restore', `zval')
    262 EXPORT(`dprint',  `zval')
     251EXPORT_PROCESSOR(`dasm', `zend_op_array')
     252EXPORT_PROCESSOR(`dasm', `zend_function')
     253EXPORT_PROCESSOR(`dasm', `zend_class_entry')
     254
     255EXPORT_PROCESSOR(`calc',    `xc_entry_data_php_t')
     256EXPORT_PROCESSOR(`calc',    `xc_entry_php_t')
     257EXPORT_PROCESSOR(`calc',    `xc_entry_var_t')
     258EXPORT_PROCESSOR(`store',   `xc_entry_data_php_t')
     259EXPORT_PROCESSOR(`store',   `xc_entry_php_t')
     260EXPORT_PROCESSOR(`store',   `xc_entry_var_t')
     261EXPORT_PROCESSOR(`restore', `xc_entry_data_php_t')
     262EXPORT_PROCESSOR(`restore', `xc_entry_php_t')
     263EXPORT_PROCESSOR(`dasm',    `xc_entry_data_php_t')
     264EXPORT_PROCESSOR(`dprint',  `xc_entry_php_t')
     265
     266EXPORT_PROCESSOR(`restore', `zval')
     267EXPORT_PROCESSOR(`dprint',  `zval')
    263268
    264269include(srcdir`/processor/hashtable.m4')
Note: See TracChangeset for help on using the changeset viewer.