Ignore:
Timestamp:
2013-11-06T17:57:52+01:00 (5 months ago)
Author:
moo
Message:

rename ptrmove to relocate, reduce export to only necessary onces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r1440 r1442  
    115115}; 
    116116/* }}} */ 
    117 /* export: typedef struct _xc_ptrmove_t { ptrdiff_t src; ptrdiff_t ptrdiff; } xc_ptrmove_t; :export {{{ */ 
     117/* export: typedef struct _xc_relocate_t { ptrdiff_t src; ptrdiff_t dst; ptrdiff_t ptrdiff; } xc_relocate_t; :export {{{ */ 
    118118/* }}} */ 
    119119/* export: typedef struct _xc_dasm_t { const zend_op_array *active_op_array_src; } xc_dasm_t; :export {{{ */ 
     
    513513} 
    514514/* }}} */ 
    515 /* export: xc_entry_var_t *xc_processor_restore_xc_entry_var_t(xc_entry_var_t *dst, const xc_entry_var_t *src TSRMLS_DC); :export {{{ */ 
    516 xc_entry_var_t *xc_processor_restore_xc_entry_var_t(xc_entry_var_t *dst, const xc_entry_var_t *src TSRMLS_DC) { 
    517     xc_processor_t processor; 
    518  
    519     memset(&processor, 0, sizeof(processor)); 
    520     xc_restore_xc_entry_var_t(&processor, dst, src TSRMLS_CC); 
    521  
    522     return dst; 
    523 } 
    524 /* }}} */ 
    525515/* export: zval *xc_processor_restore_zval(zval *dst, const zval *src, zend_bool have_references TSRMLS_DC); :export {{{ */ 
    526516zval *xc_processor_restore_zval(zval *dst, const zval *src, zend_bool have_references TSRMLS_DC) { 
     
    543533} 
    544534/* }}} */ 
     535define(`DEFINE_RELOCATE_API', ` 
     536/* export: void xc_processor_relocate_$1(int a TSRMLS_DC); :export {{{ */ 
     537void xc_processor_relocate_$1(int a TSRMLS_DC) { 
     538} 
     539/* }}} */ 
     540') 
     541DEFINE_RELOCATE_API(`xc_entry_var_t') 
     542DEFINE_RELOCATE_API(`xc_entry_php_t') 
     543DEFINE_RELOCATE_API(`xc_entry_data_php_t') 
    545544/* export: void xc_dprint(xc_entry_php_t *src, int indent TSRMLS_DC); :export {{{ */ 
    546545#ifdef HAVE_XCACHE_DPRINT 
Note: See TracChangeset for help on using the changeset viewer.