diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/genobject.h | 3 | ||||
-rw-r--r-- | Include/unicodeobject.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Include/genobject.h b/Include/genobject.h index 11c6823..135561b 100644 --- a/Include/genobject.h +++ b/Include/genobject.h @@ -18,6 +18,9 @@ typedef struct { /* True if generator is being executed. */ int gi_running; + + /* The code object backing the generator */ + PyObject *gi_code; /* List of weak reference. */ PyObject *gi_weakreflist; diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 106228d..d7808a4 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1,6 +1,8 @@ #ifndef Py_UNICODEOBJECT_H #define Py_UNICODEOBJECT_H +#include <stdarg.h> + /* Unicode implementation based on original code by Fredrik Lundh, |