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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
 
 * $Id: Curve.h,v 1.19 2005/07/18 03:50:36 ascotan Exp $
 
2
 * $Id: Curve.h,v 1.21 2007/03/15 01:09:11 campbellbarton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
43
43
/* Python BPy_Curve structure definition */
44
44
typedef struct {
45
45
        PyObject_HEAD           /* required py macro */
46
 
        Curve * curve;
 
46
        Curve * curve;          /* libdata must be second */
47
47
        /* pointer for iterator:  does not point to owned memory */
48
48
        Nurb *iter_pointer;
49
49
} BPy_Curve;
55
55
 
56
56
PyObject *Curve_Init( void );
57
57
PyObject *Curve_CreatePyObject( struct Curve * curve );
58
 
int Curve_CheckPyObject( PyObject * py_obj );
59
58
struct Curve *Curve_FromPyObject( PyObject * py_obj );
60
59
PyObject *Curve_update( BPy_Curve * self );
61
60