moyix / pdbparse

Python code to parse Microsoft PDB files
Other
316 stars 84 forks source link

Add support for Python3 compilation of undname C module. #37

Closed lucasg closed 7 years ago

lucasg commented 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).

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.