FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnrealEnginePython/linux_py38/include/python3.8/bitset.h at master · benliao/UnrealEnginePython · GitHub
benliao
UnrealEnginePython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
UnrealEnginePython
/
linux_py38
/
include
/
python3.8
/
bitset.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (17 loc) · 468 Bytes
Breadcrumbs
UnrealEnginePython
/
linux_py38
/
include
/
python3.8
/
bitset.h
Copy path
File metadata and controls
23 lines (17 loc) · 468 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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
|
FazBrowse Home
|
New Git URL