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

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/Texture.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: Texture.h,v 1.3 2005/07/18 03:50:37 ascotan Exp $
 
2
 * $Id: Texture.h,v 1.5 2007/03/15 01:09:13 campbellbarton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
44
44
 
45
45
typedef struct {
46
46
        PyObject_HEAD 
47
 
        Tex * texture;
 
47
        Tex * texture; /* libdata must be second */
48
48
} BPy_Texture;
49
49
 
50
50
extern PyTypeObject Texture_Type;
58
58
 
59
59
PyObject *Texture_Init( void );
60
60
PyObject *Texture_CreatePyObject( struct Tex *tex );
61
 
int Texture_CheckPyObject( PyObject * pyobj );
62
61
Tex *Texture_FromPyObject( PyObject * pyobj );
63
62
 
64
63