Py_DECREF/Py_INCREF as Functions?
- From: Kevin D. Smith <Kevin.Smith@xxxxxxx>
- Date: Fri, 30 Mar 2007 17:21:53 -0600
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
.
- Follow-Ups:
- Re: Py_DECREF/Py_INCREF as Functions?
- From: Gabriel Genellina
- Re: Py_DECREF/Py_INCREF as Functions?
- Prev by Date: Re: New to Python - Easy way to open a text file
- Next by Date: Re: Indentation for code readability
- Previous by thread: Newbie Question (real-time communication between apps: audio, 3d, PD, Blender)
- Next by thread: Re: Py_DECREF/Py_INCREF as Functions?
- Index(es):
Relevant Pages
|