[pypy-commit] pypy py3.5: Add missing files

rlamy pypy.commits at gmail.com
Sun Sep 24 14:29:06 EDT 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r92454:3aa19dff16dd
Date: 2017-09-24 19:29 +0100
http://bitbucket.org/pypy/pypy/changeset/3aa19dff16dd/

Log:	Add missing files

diff --git a/pypy/module/cpyext/include/genobject.h b/pypy/module/cpyext/include/genobject.h
new file mode 100644
--- /dev/null
+++ b/pypy/module/cpyext/include/genobject.h
@@ -0,0 +1,12 @@
+#ifndef Py_GENOBJECT_H
+#define Py_GENOBJECT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "cpyext_genobject.h"
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_GENOBJECT_H */
diff --git a/pypy/module/cpyext/parse/cpyext_genobject.h b/pypy/module/cpyext/parse/cpyext_genobject.h
new file mode 100644
--- /dev/null
+++ b/pypy/module/cpyext/parse/cpyext_genobject.h
@@ -0,0 +1,4 @@
+typedef struct {
+    PyObject_HEAD
+    PyObject* gi_code;
+} PyGenObject;


More information about the pypy-commit mailing list