Changeset 659 in svn


Ignore:
Timestamp:
2009-08-02T01:53:56Z (6 years ago)
Author:
Xuefer
Message:

PHP 6 fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r649 r659  
    104104                : b->nKeyLength \
    105105                ))
    106 #define BUCKET_KEY_S(b)    (UNISW((b)->arKey, (b)->key.arKey.s))
    107 #define BUCKET_KEY_U(b)    (UNISW((b)->arKey, (b)->key.arKey.u))
     106#define BUCKET_KEY(b)      (UNISW((b)->arKey, (b)->key.arKey))
     107#define BUCKET_KEY_S(b)    ZSTR_S(BUCKET_KEY(b))
     108#define BUCKET_KEY_U(b)    ZSTR_U(BUCKET_KEY(b))
    108109#define BUCKET_KEY_TYPE(b) (UNISW(IS_STRING,  (b)->key.type))
    109110#ifdef IS_UNICODE
Note: See TracChangeset for help on using the changeset viewer.