Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-03-15 04:47:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-15 04:47:53 +0300
commit52e43441d123d8ec74dbdf0de6ab97fc30904184 (patch)
tree05b05f7e800bd8402392530c457c3e438341907b /source/blender/python/api2_2x/Sound.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Sound.c')
-rw-r--r--source/blender/python/api2_2x/Sound.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/source/blender/python/api2_2x/Sound.c b/source/blender/python/api2_2x/Sound.c
index cb6d6394a28..ed366429ce3 100644
--- a/source/blender/python/api2_2x/Sound.c
+++ b/source/blender/python/api2_2x/Sound.c
@@ -89,7 +89,6 @@ struct PyMethodDef M_Sound_methods[] = {
/*****************************************************************************/
/* Python Sound_Type callback function prototypes: */
/*****************************************************************************/
-static void Sound_dealloc( BPy_Sound * self );
static int Sound_compare( BPy_Sound * a, BPy_Sound * b );
static PyObject *Sound_repr( BPy_Sound * self );
@@ -319,15 +318,6 @@ PyObject *Sound_Init( void )
/*** The Sound PyType ***/
/************************/
-/*****************************************************************************/
-/* Function: Sound_dealloc */
-/* Description: This is a callback function for the BPy_Sound type. It is */
-/* the destructor function. */
-/*****************************************************************************/
-static void Sound_dealloc( BPy_Sound * self )
-{
- PyObject_DEL( self );
-}
/*****************************************************************************/
/* Function: Sound_CreatePyObject */
@@ -558,8 +548,8 @@ PyTypeObject Sound_Type = {
sizeof( BPy_Sound ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- ( destructor ) Sound_dealloc, /* tp_dealloc */
- 0, /* tp_print */
+ NULL, /* tp_dealloc */
+ 0, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
( cmpfunc ) Sound_compare, /* tp_compare */