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/MTex.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/MTex.c')
-rw-r--r--source/blender/python/api2_2x/MTex.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/MTex.c b/source/blender/python/api2_2x/MTex.c
index 13c2ac8e0b7..61ea64a68e9 100644
--- a/source/blender/python/api2_2x/MTex.c
+++ b/source/blender/python/api2_2x/MTex.c
@@ -65,7 +65,6 @@ static PyMethodDef BPy_MTex_methods[] = {
/*****************************************************************************/
/* Python MTex_Type callback function prototypes: */
/*****************************************************************************/
-static void MTex_dealloc( BPy_MTex * self );
static int MTex_compare( BPy_MTex * a, BPy_MTex * b );
static PyObject *MTex_repr( BPy_MTex * self );
@@ -196,7 +195,7 @@ PyTypeObject MTex_Type = {
sizeof( BPy_MTex ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- ( destructor ) MTex_dealloc, /* tp_dealloc */
+ NULL, /* tp_dealloc */
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
@@ -280,11 +279,6 @@ static PyObject *MTex_setTexMethod( BPy_MTex * self, PyObject * args )
return EXPP_setterWrapper( (void *)self, args, (setter)MTex_setTex );
}
-static void MTex_dealloc( BPy_MTex * self )
-{
- PyObject_DEL( self );
-}
-
static int MTex_compare( BPy_MTex * a, BPy_MTex * b )
{
return ( a->mtex == b->mtex ) ? 0 : -1;