Closed lucasg closed 7 years ago
Since Python3, it is mandatory to define a PyInit_${module_name} entry point function or a PyModuleDef structure (see doc on this subject : https://docs.python.org/3/extending/building.html).
PyInit_${module_name}
PyModuleDef
This commit add support for building the undname C module on Python 3 as well as Python27. It somewhat slipped away from the previous Python3 pull request.
NB : I've used this tutorial to write the Python glue.
Since Python3, it is mandatory to define a
PyInit_${module_name}
entry point function or aPyModuleDef
structure (see doc on this subject : https://docs.python.org/3/extending/building.html).This commit add support for building the undname C module on Python 3 as well as Python27. It somewhat slipped away from the previous Python3 pull request.
NB : I've used this tutorial to write the Python glue.