Changeset 200 for trunk/utils.c


Ignore:
Timestamp:
2006-09-29T02:09:51+02:00 (8 years ago)
Author:
moo
Message:

BUCKET_KEY readability and PHP_6 build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r166 r200  
    411411        zend_constant *c = (zend_constant*) b->pData; 
    412412        xc_install_constant(sandbox->filename, c, 
    413                 BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY(b)), b->nKeyLength TSRMLS_CC); 
     413                BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength TSRMLS_CC); 
    414414        b = b->pListNext; 
    415415    } 
     
    421421        zend_function *func = (zend_function*) b->pData; 
    422422        xc_install_function(sandbox->filename, func, 
    423                 BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY(b)), b->nKeyLength TSRMLS_CC); 
     423                BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength TSRMLS_CC); 
    424424        b = b->pListNext; 
    425425    } 
     
    429429    while (b != NULL) { 
    430430        xc_install_class(sandbox->filename, (xc_cest_t*)b->pData, 
    431                 BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY(b)), b->nKeyLength TSRMLS_CC); 
     431                BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength TSRMLS_CC); 
    432432        b = b->pListNext; 
    433433    } 
Note: See TracChangeset for help on using the changeset viewer.