Show
Ignore:
Timestamp:
08/20/07 15:40:19 (1 year ago)
Author:
bart
Message:

Rewrite the fixup_* functions they no longer use the EAG(mem) global

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ea_restore.h

    r286 r331  
    2929#define EA_RESTORE_H 
    3030 
    31 #define FIXUP(x) if((x)!=NULL) {(x) = (void*)(((char*)(x)) + ((long)(EAG(mem))));} 
    32 void fixup_zval(zval *z TSRMLS_DC); 
    33 void eaccelerator_fixup (ea_cache_entry * p TSRMLS_DC); 
     31#define FIXUP(b, x) if((x)!=NULL) {(x) = (void*)(((char*)(x)) + ((long)(b)));} 
     32void fixup_zval(char *base, zval *z TSRMLS_DC); 
     33void eaccelerator_fixup(ea_cache_entry * p TSRMLS_DC); 
    3434 
    3535void restore_zval(zval *zv TSRMLS_DC);