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/Camera.c
parentee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (diff)
removed unneeded dealloc functions
Diffstat (limited to 'source/blender/python/api2_2x/Camera.c')
-rw-r--r--source/blender/python/api2_2x/Camera.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Camera.c b/source/blender/python/api2_2x/Camera.c
index 2ec89de1c7b..04c94ef5dba 100644
--- a/source/blender/python/api2_2x/Camera.c
+++ b/source/blender/python/api2_2x/Camera.c
@@ -203,7 +203,6 @@ static PyMethodDef BPy_Camera_methods[] = {
/*****************************************************************************/
/* Python Camera_Type callback function prototypes: */
/*****************************************************************************/
-static void Camera_dealloc( BPy_Camera * self );
static int Camera_compare( BPy_Camera * a, BPy_Camera * b );
static PyObject *Camera_repr( BPy_Camera * self );
@@ -653,12 +652,6 @@ static PyObject *Camera_copy( BPy_Camera * self )
return pycam;
}
-static void Camera_dealloc( BPy_Camera * self )
-{
- PyObject_DEL( self );
-}
-
-
static PyObject *Camera_getType( BPy_Camera * self )
{
if (self->camera->type == EXPP_CAM_TYPE_PERSP)
@@ -949,7 +942,7 @@ PyTypeObject Camera_Type = {
/* Methods to implement standard operations */
- ( destructor ) Camera_dealloc,/* destructor tp_dealloc; */
+ NULL, /* destructor tp_dealloc; */
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */