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/Modifier.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Modifier.c')
-rw-r--r--source/blender/python/api2_2x/Modifier.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/source/blender/python/api2_2x/Modifier.c b/source/blender/python/api2_2x/Modifier.c
index 6745ad4aa8d..eefbd1b577d 100644
--- a/source/blender/python/api2_2x/Modifier.c
+++ b/source/blender/python/api2_2x/Modifier.c
@@ -176,7 +176,6 @@ static PyMappingMethods Modifier_as_mapping = {
/*****************************************************************************/
/* Python Modifier_Type callback function prototypes: */
/*****************************************************************************/
-static void Modifier_dealloc( BPy_Modifier * self );
static PyObject *Modifier_repr( BPy_Modifier * self );
/*****************************************************************************/
@@ -192,7 +191,7 @@ PyTypeObject Modifier_Type = {
/* Methods to implement standard operations */
- ( destructor ) Modifier_dealloc,/* destructor tp_dealloc; */
+ NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
@@ -977,16 +976,6 @@ static int Modifier_setData( BPy_Modifier * self, PyObject * key,
}
/*****************************************************************************/
-/* Function: Modifier_dealloc */
-/* Description: This is a callback function for the BPy_Modifier type. It */
-/* destroys data when the object is deleted. */
-/*****************************************************************************/
-static void Modifier_dealloc( BPy_Modifier * self )
-{
- PyObject_DEL( self );
-}
-
-/*****************************************************************************/
/* Function: Modifier_repr */
/* Description: This is a callback function for the BPy_Modifier type. It */
/* builds a meaningful string to represent modifier objects. */
@@ -1213,17 +1202,6 @@ static PyObject *ModSeq_moveDown( BPy_ModSeq * self, PyObject *args )
Py_RETURN_NONE;
}
-
-/*****************************************************************************/
-/* Function: ModSeq_dealloc */
-/* Description: This is a callback function for the BPy_Modifier type. It */
-/* destroys data when the object is deleted. */
-/*****************************************************************************/
-static void ModSeq_dealloc( BPy_Modifier * self )
-{
- PyObject_DEL( self );
-}
-
/*****************************************************************************/
/* Python BPy_ModSeq methods table: */
/*****************************************************************************/
@@ -1253,7 +1231,7 @@ PyTypeObject ModSeq_Type = {
/* Methods to implement standard operations */
- ( destructor ) ModSeq_dealloc,/* destructor tp_dealloc; */
+ NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */