vidya7732/AI_Doctor_LLM_GenModel
0
1 2#ifndef Py_BITSET_H3#define Py_BITSET_H4#ifdef __cplusplus5extern "C" {6#endif7 8/* Bitset interface */9 10#define BYTE char11typedef BYTE *bitset;12 13#define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)14 15#define BITSPERBYTE (8*sizeof(BYTE))16#define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE)17#define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE)18#define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit))19 20#ifdef __cplusplus21}22#endif23#endif /* !Py_BITSET_H */24 