~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/rgbTuple.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
 
2
 * $Id: rgbTuple.h,v 1.3 2004/09/25 20:30:40 stiv Exp $
2
3
 *
3
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
4
5
 *
41
42
 * objects, so this header file must contain only 'public' declarations */
42
43
 
43
44
/*****************************************************************************/
44
 
/* Python BPy_rgbTuple structure definition:                                   */
 
45
/* Python BPy_rgbTuple structure definition:                               */
45
46
/*****************************************************************************/
46
47
typedef struct {
47
 
  PyObject_HEAD
48
 
        float *rgb[3]; /* array of three pointers to floats */
 
48
        PyObject_HEAD float *rgb[3];    /* array of three pointers to floats */
49
49
 
50
50
} BPy_rgbTuple;
51
51
 
52
52
/*****************************************************************************/
53
53
/* Python API function prototypes for the rgbTuple helper module.            */
54
54
/*****************************************************************************/
55
 
PyObject *rgbTuple_New (float *rgb[3]);
56
 
PyObject *rgbTuple_getCol (BPy_rgbTuple *self);
57
 
PyObject *rgbTuple_setCol (BPy_rgbTuple *self, PyObject *args);
 
55
PyObject *rgbTuple_New( float *rgb[3] );
 
56
PyObject *rgbTuple_getCol( BPy_rgbTuple * self );
 
57
PyObject *rgbTuple_setCol( BPy_rgbTuple * self, PyObject * args );
58
58
 
59
 
#endif /* EXPP_rgbTuple_H */
 
59
#endif                          /* EXPP_rgbTuple_H */