...
This commit is contained in:
parent
8d0a06325c
commit
df4738f080
@ -134,8 +134,8 @@ typedef struct ImageAnchorPosition {
|
||||
#define START_ALLOW_CASE_RANGE IGNORE_PEDANTIC_WARNINGS
|
||||
#define END_ALLOW_CASE_RANGE END_IGNORE_PEDANTIC_WARNINGS
|
||||
#define BIT_MASK(__TYPE__, __ONE_COUNT__) \
|
||||
((__TYPE__) (-((__ONE_COUNT__) != 0))) \
|
||||
& (((__TYPE__) -1) >> ((sizeof(__TYPE__) * CHAR_BIT) - (__ONE_COUNT__)))
|
||||
(((__TYPE__) (-((__ONE_COUNT__) != 0))) \
|
||||
& (((__TYPE__) -1) >> ((sizeof(__TYPE__) * CHAR_BIT) - (__ONE_COUNT__))))
|
||||
#define ADD_TYPE(which) \
|
||||
if (PyType_Ready(&which##_Type) < 0) return false; \
|
||||
if (PyModule_AddObject(module, #which, (PyObject *)&which##_Type) != 0) return false; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user