From 5bac916e83cadce7ff5eec4fee9e905347a97b8c Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Wed, 21 Sep 2005 19:48:40 +0000 Subject: 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! --- source/blender/python/api2_2x/rgbTuple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/rgbTuple.h') 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 */ -- cgit v1.2.3