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/NLA.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/NLA.c')
-rw-r--r--source/blender/python/api2_2x/NLA.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/source/blender/python/api2_2x/NLA.c b/source/blender/python/api2_2x/NLA.c
index 22df94b4bfb..2c5011f94fc 100644
--- a/source/blender/python/api2_2x/NLA.c
+++ b/source/blender/python/api2_2x/NLA.c
@@ -120,7 +120,6 @@ static PyMethodDef BPy_Action_methods[] = {
/*****************************************************************************/
/* Python TypeAction callback function prototypes: */
/*****************************************************************************/
-static void Action_dealloc( BPy_Action * bone );
static int Action_compare( BPy_Action * a, BPy_Action * b );
static PyObject *Action_repr( BPy_Action * bone );
@@ -366,12 +365,6 @@ static PyObject *Action_getAllChannelIpos( BPy_Action * self )
}
/*----------------------------------------------------------------------*/
-static void Action_dealloc( BPy_Action * self )
-{
- PyObject_DEL( self );
-}
-
-/*----------------------------------------------------------------------*/
static int Action_compare( BPy_Action * a, BPy_Action * b )
{
return ( a->action == b->action ) ? 0 : -1;
@@ -432,8 +425,8 @@ PyTypeObject Action_Type = {
sizeof( BPy_Action ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- ( destructor ) Action_dealloc, /* tp_dealloc */
- NULL, /* tp_print */
+ NULL, /* tp_dealloc */
+ NULL, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
( cmpfunc ) Action_compare, /* tp_compare */
@@ -1055,7 +1048,7 @@ PyTypeObject ActionStrip_Type = {
/* Methods to implement standard operations */
- ( destructor ) Action_dealloc,/* destructor tp_dealloc; */
+ NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
@@ -1439,7 +1432,7 @@ PyTypeObject ActionStrips_Type = {
/* Methods to implement standard operations */
- ( destructor ) Action_dealloc,/* destructor tp_dealloc; */
+ NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */