Message45804
I have an application where I locate a python shared library, link to
it, and bind a few symbols at runtime in order to run some Python
code. I need to be able to use Py_INCREF and Py_DECREF from
this code (to show nice output if there is an exception), but since it
is done dynamically my code has no idea what the definitions of
those macros were. This is especially bad because they are
different for a debugging build.
I would like Py_INCREF and Py_DECREF to be available as exported
functions *somewhere* in the Python shared library. |
|
Date |
User |
Action |
Args |
2007-08-23 15:37:18 | admin | link | issue938302 messages |
2007-08-23 15:37:18 | admin | create | |
|