Move common C extension module into a different C file. (#35)

* Move common C extension module into a different C file so that the actual definitions can be more easily included in other C extensions.

* Rename common_extension_module -> common_module.
This commit is contained in:
Robert Nishihara
2016-10-06 19:16:09 -07:00
committed by Philipp Moritz
parent 90a6a99b03
commit 7be1a93d64
4 changed files with 42 additions and 36 deletions
+2
View File
@@ -24,6 +24,8 @@ typedef struct {
extern PyTypeObject PyObjectIDType;
extern PyTypeObject PyTaskType;
int PyObjectToUniqueID(PyObject *object, object_id *objectid);
PyObject *PyObjectID_make(object_id object_id);