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/World.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/World.c')
-rw-r--r--source/blender/python/api2_2x/World.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c
index 0c45c6d40a6..c16d4c3fc97 100644
--- a/source/blender/python/api2_2x/World.c
+++ b/source/blender/python/api2_2x/World.c
@@ -117,7 +117,6 @@ static PyObject *M_World_GetCurrent( PyObject * self );
/*****************************************************************************/
/* Python World_Type callback function prototypes: */
/*****************************************************************************/
-static void World_DeAlloc( BPy_World * self );
//static int World_Print (BPy_World *self, FILE *fp, int flags);
static int World_Compare( BPy_World * a, BPy_World * b );
static PyObject *World_Repr( BPy_World * self );
@@ -267,8 +266,8 @@ PyTypeObject World_Type = {
sizeof( BPy_World ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- ( destructor ) World_DeAlloc, /* tp_dealloc */
- 0, /* tp_print */
+ NULL, /* tp_dealloc */
+ 0, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
( cmpfunc ) World_Compare, /* tp_compare */
@@ -908,18 +907,6 @@ static PyObject *World_copy( BPy_World * self )
return World_CreatePyObject(world);
}
-
-/*@{*/
-
-/**
- * \brief The World PyType destructor
- */
-
-static void World_DeAlloc( BPy_World * self )
-{
- PyObject_DEL( self );
-}
-
/**
* \brief The World PyType compare function
*