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/Scene.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r--source/blender/python/api2_2x/Scene.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c
index 96ca435cdc9..13258b32f53 100644
--- a/source/blender/python/api2_2x/Scene.c
+++ b/source/blender/python/api2_2x/Scene.c
@@ -94,7 +94,7 @@ PyObject *M_Object_Get( PyObject * self, PyObject * args ); /* from Object.c */
enum obj_consts {
EXPP_OBSEQ_NORMAL = 0,
EXPP_OBSEQ_SELECTED,
- EXPP_OBSEQ_CONTEXT,
+ EXPP_OBSEQ_CONTEXT
};
@@ -152,7 +152,6 @@ static PyObject *Scene_getTimeLine( BPy_Scene * self );
/*internal*/
-static void Scene_dealloc( BPy_Scene * self );
static int Scene_compare( BPy_Scene * a, BPy_Scene * b );
static PyObject *Scene_repr( BPy_Scene * self );
@@ -459,7 +458,7 @@ PyTypeObject Scene_Type = {
sizeof( BPy_Scene ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- ( destructor ) Scene_dealloc, /* tp_dealloc */
+ NULL, /* tp_dealloc */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
@@ -553,13 +552,6 @@ PyObject *Scene_Init( void )
return submodule;
}
-/*-----------------------Scene module internal callbacks------------------
- -----------------------dealloc------------------------------------------*/
-static void Scene_dealloc( BPy_Scene * self )
-{
- PyObject_DEL( self );
-}
-
/*-----------------------compare----------------------------------------*/
static int Scene_compare( BPy_Scene * a, BPy_Scene * b )
{