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

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/Text.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: Text.h,v 1.14 2005/07/18 03:50:37 ascotan Exp $
 
2
 * $Id: Text.h,v 1.16 2007/02/25 01:07:27 campbellbarton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
36
36
#include <Python.h>
37
37
#include "DNA_text_types.h"
38
38
 
 
39
extern PyTypeObject Text_Type;
 
40
 
 
41
/* Type checking for EXPP PyTypes */
 
42
#define BPy_Text_Check(v)       ((v)->ob_type == &Text_Type)
 
43
 
 
44
typedef struct {
 
45
        PyObject_HEAD
 
46
        Text * text; /* libdata must be second */
 
47
} BPy_Text;
 
48
 
39
49
PyObject *Text_Init( void );
40
50
PyObject *Text_CreatePyObject( Text * txt );
41
51