Adding a pygobject task then, as something is obviously wrong, but I don't know what.
0 (master) martin@donald:~/upstream/pygobject $ git grep Py_InitModule gi/_glib/pyglib-python-compat.h: PyObject *module = Py_InitModule(fullpkgname, functions); \ gi/_glib/pyglib-python-compat.h: module = Py_InitModule(modname, symbol##_functions);
This just uses the usual Py_InitModule (http://docs.python.org/2/c-api/allocation.html), nothing else.
Adding a pygobject task then, as something is obviously wrong, but I don't know what.
0 (master) martin@ donald: ~/upstream/ pygobject pyglib- python- compat. h: PyObject *module = Py_InitModule( fullpkgname, functions); \ pyglib- python- compat. h: module = Py_InitModule( modname, symbol# #_functions) ;
$ git grep Py_InitModule
gi/_glib/
gi/_glib/
This just uses the usual Py_InitModule (http:// docs.python. org/2/c- api/allocation. html), nothing else.