Skip to content
Snippets Groups Projects
Commit e9a8093ca983 authored by Lisandro Dalcin's avatar Lisandro Dalcin
Browse files

CyFunction: Fix use of `offsetof()` to silence clang -Wextended-offsetof

parent 73051e8fc656
No related branches found
No related tags found
No related merge requests found
......@@ -414,7 +414,7 @@
};
static PyMemberDef __pyx_CyFunction_members[] = {
{(char *) "__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
{(char *) "__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), PY_WRITE_RESTRICTED, 0},
{0, 0, 0, 0, 0}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment