Ignore:
Timestamp:
2012-03-28T11:30:46+02:00 (2 years ago)
Author:
moo
Message:

store entry_var_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r854 r856  
    416416        zend_hash_destroy(&processor.strings); 
    417417    } 
    418     src->ifelse(`$1', `xc_entry_php_t', entry.)size = processor.size; 
     418    src->ifelse( 
     419        `$1', `xc_entry_data_php_t', `', 
     420        `', `', entry.)size = processor.size; 
    419421    ifelse( 
    420422        `$1', `xc_entry_var_t', `src->have_references = processor.have_references;', 
     
    467469/* }}} */ 
    468470') 
    469 DEFINE_STORE_API(`xc_entry_t') 
     471DEFINE_STORE_API(`xc_entry_var_t') 
    470472DEFINE_STORE_API(`xc_entry_php_t') 
    471473DEFINE_STORE_API(`xc_entry_data_php_t') 
     
    502504} 
    503505/* }}} */ 
    504 /* export: xc_entry_t *xc_processor_restore_xc_entry_t(xc_entry_t *dst, const xc_entry_t *src TSRMLS_DC); :export {{{ */ 
    505 xc_entry_t *xc_processor_restore_xc_entry_t(xc_entry_t *dst, const xc_entry_t *src TSRMLS_DC) { 
     506/* 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 {{{ */ 
     507xc_entry_var_t *xc_processor_restore_xc_entry_var_t(xc_entry_var_t *dst, const xc_entry_var_t *src TSRMLS_DC) { 
    506508    xc_processor_t processor; 
    507509 
    508510    memset(&processor, 0, sizeof(processor)); 
    509     xc_restore_xc_entry_t(&processor, dst, src TSRMLS_CC); 
     511    xc_restore_xc_entry_var_t(&processor, dst, src TSRMLS_CC); 
    510512 
    511513    return dst; 
     
    535537#ifdef HAVE_XCACHE_DPRINT 
    536538void xc_dprint(xc_entry_php_t *src, int indent TSRMLS_DC) { 
    537     IFDPRINT(`INDENT()`'fprintf(stderr, "xc_entry_t:src");') 
    538     xc_dprint_xc_entry_t(src, indent TSRMLS_CC); 
    539 } 
    540 #endif 
    541 /* }}} */ 
     539    IFDPRINT(`INDENT()`'fprintf(stderr, "xc_entry_php_t:src");') 
     540    xc_dprint_xc_entry_php_t(src, indent TSRMLS_CC); 
     541} 
     542#endif 
     543/* }}} */ 
Note: See TracChangeset for help on using the changeset viewer.