Commit 38211af1 authored by gsamain's avatar gsamain

Make CyObject struct appear earlier than type definitions

parent 1bd29b0b
......@@ -1545,3 +1545,7 @@ static void __Pyx_FastGilFuncInit(void) {
CyObject_ATOMIC_REFCOUNT_TYPE ob_refcnt; \
void (*cdealloc)(void* self);
struct CyObject {
CyObject_HEAD
};
......@@ -1600,10 +1600,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