diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-09-21 23:48:40 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-09-21 23:48:40 +0400 |
commit | 5bac916e83cadce7ff5eec4fee9e905347a97b8c (patch) | |
tree | 5d123ad89521eef9802245020d7f5afeb4561a71 /source/blender/python/api2_2x/rgbTuple.h | |
parent | e1fe7c88eca7a2aef1050c606ee622724e92d09a (diff) |
Part of Bpy Cleanup: change attribute access to use tp_getset.
for these modules. Adds some new convenience funcs to gen_utils.
This is internal change only and presents little change to the
BPy API except for cleanup of some inconsistencies.
A big contribution from Ken Hughes. Thanks!
Diffstat (limited to 'source/blender/python/api2_2x/rgbTuple.h')
-rw-r--r-- | source/blender/python/api2_2x/rgbTuple.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/rgbTuple.h b/source/blender/python/api2_2x/rgbTuple.h index 4e113d7dd49..a1af0e27549 100644 --- a/source/blender/python/api2_2x/rgbTuple.h +++ b/source/blender/python/api2_2x/rgbTuple.h @@ -51,6 +51,6 @@ typedef struct { /*****************************************************************************/ PyObject *rgbTuple_New( float *rgb[3] ); PyObject *rgbTuple_getCol( BPy_rgbTuple * self ); -PyObject *rgbTuple_setCol( BPy_rgbTuple * self, PyObject * args ); +int rgbTuple_setCol( BPy_rgbTuple * self, PyObject * args ); #endif /* EXPP_rgbTuple_H */ |