pike.git / src / post_modules / CritBit / critbit / critbit.h

version» Context lines:

pike.git/src/post_modules/CritBit/critbit/critbit.h:8: Inside #if undefined(CB_NAMESPACE)
     #ifndef CB_NAMESPACE   # warn NAMESPACE NOT USED   #define CB_NAME(name) CONCAT2(cb_, name)   #define CB_TYPE(name) CONCAT3(cb_, name, _t)   #else   #define CB_NAME(name) CONCAT4(cb_, CB_NAMESPACE, _, name)   #define CB_TYPE(name) CONCAT5(cb_, CB_NAMESPACE, _, name, _t)   #endif    +  + #define MASK(type, bits) (~((~((type)0)) >> (bits))) + #define BITMASK(type, n) ((type)1 << (type)(sizeof(type)*8 - 1 - (n))) + #define BITN(type, p, n) (!!((p) & BITMASK(type, n))) +    typedef struct cb_size {    size_t bits;    ptrdiff_t chars;   } cb_size;      #endif