Changeset 19 in svn for trunk


Ignore:
Timestamp:
2006-05-25T04:36:08+02:00 (9 years ago)
Author:
Xuefer
Message:

void empty agument for macro for vc6

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r11 r19  
    283283{
    284284    zend_class_entry *cep = CestToCePtr(*cest);
    285     ZESW(void *stored_ce_ptr, );
     285    ZESW(void *stored_ce_ptr, NOTHING);
    286286
    287287    if (zend_u_hash_add(CG(class_table), type, key, len,
     
    294294        zend_error(E_ERROR, "Cannot redeclare class %s", (char *) cep->name);
    295295    }
    296     ZESW(return (xc_cest_t *) stored_ce_ptr, );
     296    ZESW(return (xc_cest_t *) stored_ce_ptr, NOTHING);
    297297}
    298298/* }}} */
  • trunk/xcache.c

    r18 r19  
    499499static inline xc_hash_value_t xc_entry_hash_var(xc_entry_t *xce) /* {{{ */
    500500{
    501     return UNISW(, UG(unicode) ? HASH_USTR_L(xce->name_type, (char *)xce->name.ustr.val, xce->name.ustr.len) :)
     501    return UNISW(NOTHING, UG(unicode) ? HASH_USTR_L(xce->name_type, (char *)xce->name.ustr.val, xce->name.ustr.len) :)
    502502        HASH_STR_L(xce->name.str.val, xce->name.str.len);
    503503}
     
    549549    }
    550550
    551     UNISW(, xce->name_type = IS_STRING;)
     551    UNISW(NOTHING, xce->name_type = IS_STRING;)
    552552    xce->name.str.val = filename;
    553553    xce->name.str.len = strlen(filename);
     
    708708            assert(b->pData);
    709709            memcpy(&fi->func, b->pData, sizeof(zend_function));
    710             UNISW(, fi->type = b->key.type;)
     710            UNISW(NOTHING, fi->type = b->key.type;)
    711711            fi->key        = BUCKET_KEY(b);
    712712            fi->key_size   = b->nKeyLength;
     
    720720            assert(b->pData);
    721721            memcpy(&ci->cest, b->pData, sizeof(xc_cest_t));
    722             UNISW(, ci->type = b->key.type;)
     722            UNISW(NOTHING, ci->type = b->key.type;)
    723723            ci->key        = BUCKET_KEY(b);
    724724            ci->key_size   = b->nKeyLength;
  • trunk/xcache.h

    r14 r19  
    2828#endif
    2929
     30#define NOTHING
    3031/* ZendEngine code Switcher */
    3132#ifndef ZEND_ENGINE_2
Note: See TracChangeset for help on using the changeset viewer.