diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-07-05 05:44:32 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-07-05 05:44:32 +0400 |
commit | 3328cf0d2df10b1ae3329bb3852be23e4aaec681 (patch) | |
tree | 5d9ebd82544df927c965f9f5d69baf8d8f327d37 /source/blender/python/api2_2x/rgbTuple.c | |
parent | aa820ec42094c2799ca618d3ee174993358c9573 (diff) |
Exppython: small update to fix a warning and a compile problem.
Diffstat (limited to 'source/blender/python/api2_2x/rgbTuple.c')
-rw-r--r-- | source/blender/python/api2_2x/rgbTuple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/rgbTuple.c b/source/blender/python/api2_2x/rgbTuple.c index 2e33525fa9e..1d07c9a99ba 100644 --- a/source/blender/python/api2_2x/rgbTuple.c +++ b/source/blender/python/api2_2x/rgbTuple.c @@ -88,7 +88,7 @@ PyTypeObject rgbTuple_Type = sizeof (BPy_rgbTuple), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ - (destructor)rgbTuple_deAlloc, /* tp_dealloc */ + (destructor)rgbTuple_dealloc, /* tp_dealloc */ 0, /* tp_print */ (getattrfunc)rgbTuple_getAttr, /* tp_getattr */ (setattrfunc)rgbTuple_setAttr, /* tp_setattr */ @@ -169,11 +169,11 @@ PyObject *rgbTuple_setCol (BPy_rgbTuple *self, PyObject *args) } /*****************************************************************************/ -/* Function: rgbTuple_deAlloc */ +/* Function: rgbTuple_dealloc */ /* Description: This is a callback function for the BPy_rgbTuple type. It is */ /* the destructor function. */ /*****************************************************************************/ -static void rgbTuple_deAlloc (BPy_rgbTuple *self) +static void rgbTuple_dealloc (BPy_rgbTuple *self) { PyObject_DEL (self); } |