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/Text3d.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Text3d.c')
-rw-r--r--source/blender/python/api2_2x/Text3d.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/python/api2_2x/Text3d.c b/source/blender/python/api2_2x/Text3d.c
index 028005e128b..cf825bd242c 100644
--- a/source/blender/python/api2_2x/Text3d.c
+++ b/source/blender/python/api2_2x/Text3d.c
@@ -91,7 +91,6 @@ struct PyMethodDef M_Text3d_methods[] = {
/* Python Text3d_Type callback function prototypes: */
/*****************************************************************************/
/* int Text3dPrint (BPy_Text3d *msh, FILE *fp, int flags); */
-static void Text3dDeAlloc( BPy_Text3d * self );
static PyObject *Text3d_repr( BPy_Text3d * self );
@@ -359,10 +358,10 @@ PyTypeObject Text3d_Type = {
sizeof( BPy_Text3d ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
- ( destructor ) Text3dDeAlloc, /* tp_dealloc */
+ NULL, /* tp_dealloc */
NULL, /* tp_print */
- NULL, /* tp_getattr */
- NULL, /* tp_setattr */
+ NULL, /* tp_getattr */
+ NULL, /* tp_setattr */
( cmpfunc ) Text3d_compare, /* tp_compare */
( reprfunc ) Text3d_repr, /* tp_repr */
/* Method suites for standard classes */
@@ -599,11 +598,6 @@ PyObject *Text3d_Init( void )
return ( submodule );
}
-static void Text3dDeAlloc( BPy_Text3d * self )
-{
- PyObject_DEL( self );
-}
-
/****************************************************************************
* Function: Text3d_repr
* Description: Callback function for the BPy_Text3d type to It