Commit 58dc8d89 authored by gsamain's avatar gsamain

Make CyObject struct appear earlier than type definitions

parent 9db14a42
......@@ -1543,3 +1543,7 @@ static void __Pyx_FastGilFuncInit(void) {
CyObject_ATOMIC_REFCOUNT_TYPE ob_refcnt; \
void (*cdealloc)(void* self);
struct CyObject {
CyObject_HEAD
};
......@@ -1591,10 +1591,6 @@ try_unpack:
// int ob_refcnt; \
// void (*cdealloc)(void * self);
struct CyObject {
CyObject_HEAD
};
/* Cast argument to PyObject* type. */
#define _CyObject_CAST(op) ((struct CyObject*)(op))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment