Changeset 152 for trunk/xcache.c


Ignore:
Timestamp:
2006-09-10T04:14:06+02:00 (8 years ago)
Author:
moo
Message:

PHP6: zts build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r151 r152  
    649649#define HASH_STR(s) HASH_STR_L(s, strlen(s) + 1) 
    650650#define HASH_NUM(n) HASH(n) 
    651 static inline xc_hash_value_t xc_entry_hash_var(xc_entry_t *xce) /* {{{ */ 
     651static inline xc_hash_value_t xc_entry_hash_var(xc_entry_t *xce TSRMLS_DC) /* {{{ */ 
    652652{ 
    653653    return UNISW(NOTHING, UG(unicode) ? HASH_USTR_L(xce->name_type, xce->name.uni.val, xce->name.uni.len) :) 
     
    655655} 
    656656/* }}} */ 
    657 static inline xc_hash_value_t xc_entry_hash_php(xc_entry_t *xce) /* {{{ */ 
     657static inline xc_hash_value_t xc_entry_hash_php(xc_entry_t *xce TSRMLS_DC) /* {{{ */ 
    658658{ 
    659659#ifdef HAVE_INODE 
    660660    return HASH(xce->data.php->device + xce->data.php->inode); 
    661661#else 
    662     return xc_entry_hash_var(xce); 
     662    return xc_entry_hash_var(xce TSRMLS_CC); 
    663663#endif 
    664664} 
     
    734734 
    735735 
    736     hv = xc_entry_hash_php(xce); 
     736    hv = xc_entry_hash_php(xce TSRMLS_CC); 
    737737    cacheid = (hv & xc_php_hcache.mask); 
    738738    xce->cache = xc_php_caches[cacheid]; 
     
    15551555    xce->name = name->value; 
    15561556 
    1557     hv = xc_entry_hash_var(xce); 
     1557    hv = xc_entry_hash_var(xce TSRMLS_CC); 
    15581558 
    15591559    cacheid = (hv & xc_var_hcache.mask); 
Note: See TracChangeset for help on using the changeset viewer.