Antoine Pitrou <pit...@free.fr> added the comment: > OK, can someone show me an example of how functions defined in core > Python can be made available to extension modules? I thought I could > model pytime.h/.c after pymath.h/.c, but the later is not used in > extension modules. I must be missing something trivial here.
You should just need to #include "pytime.h" from Include/Python.h. Actually, pymath.h is already included from there. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9079> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com