Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f92a68 commit 9bd126aCopy full SHA for 9bd126a
1 file changed
Include/structmember.h
@@ -9,16 +9,6 @@ extern "C" {
9
10
#include <stddef.h> /* For offsetof */
11
12
-/* The offsetof() macro calculates the offset of a structure member
13
- in its structure. Unfortunately this cannot be written down
14
- portably, hence it is provided by a Standard C header file.
15
- For pre-Standard C compilers, here is a version that usually works
16
- (but watch out!): */
17
-
18
-#ifndef offsetof
19
-#define offsetof(type, member) ( (int) & ((type*)0) -> member )
20
-#endif
21
22
/* An array of PyMemberDef structures defines the name, type and offset
23
of selected members of a C structure. These can be read by
24
PyMember_GetOne() and set by PyMember_SetOne() (except if their READONLY
0 commit comments