Py_DECREF/Py_INCREF as Functions?



I'm trying to use Python from another application that allows me to load functions from a DLL. While I have most of the API working, I have one big problem: Py_DECREF and PyINCREF are macros which I can't load from the Python DLL. Since I can't decref any objects, I'm leaking memory all over the place. Is there any way to decref an object with a function that can be loaded from the Python DLL?

--
Kevin D. Smith

.



Relevant Pages