Staging
v0.8.1
https://github.com/python/cpython
Revision aea045adb8c90394264908670cbc495c5a41b65e authored by Hakan Çelik on 24 February 2020, 02:00:40 UTC, committed by GitHub on 24 February 2020, 02:00:40 UTC
Full nested function and class info makes it a module browser.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent 9f37872
Raw File
Tip revision: aea045adb8c90394264908670cbc495c5a41b65e authored by Hakan Çelik on 24 February 2020, 02:00:40 UTC
bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528)
Tip revision: aea045a
bitset.h

#ifndef Py_BITSET_H
#define Py_BITSET_H
#ifdef __cplusplus
extern "C" {
#endif

/* Bitset interface */

#define BYTE            char
typedef BYTE *bitset;

#define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)

#define BITSPERBYTE     (8*sizeof(BYTE))
#define BIT2BYTE(ibit)  ((ibit) / BITSPERBYTE)
#define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE)
#define BIT2MASK(ibit)  (1 << BIT2SHIFT(ibit))

#ifdef __cplusplus
}
#endif
#endif /* !Py_BITSET_H */
back to top