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

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/constant.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: constant.h,v 1.7 2005/03/19 03:24:00 ascotan Exp $
2
3
 *
3
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
4
5
 *
37
38
 
38
39
#include "gen_utils.h"
39
40
 
 
41
#define BPy_Constant_Check(v) ((v)->ob_type==&constant_Type)
 
42
 
40
43
/* Objects of <type 'constant'> are used inside many other Blender Python
41
44
 * objects, so this header file must contain only 'public' declarations */
42
45
 
43
46
/*****************************************************************************/
44
47
/* Python API function prototypes for the constant module.                   */
45
48
/*****************************************************************************/
46
 
PyObject *M_constant_New (void);
 
49
PyObject *M_constant_New( void );
47
50
 
48
51
/*****************************************************************************/
49
52
/* Python BPy_constant structure definition:                                 */
50
53
/*****************************************************************************/
51
54
typedef struct {
52
 
  PyObject_HEAD
53
 
  PyObject *dict;
 
55
        PyObject_HEAD PyObject * dict;
54
56
 
55
57
} BPy_constant;
56
58
 
57
59
/*****************************************************************************/
58
60
/* Python BPy_constant methods declarations:                                 */
59
61
/*****************************************************************************/
60
 
int constant_insert(BPy_constant *self, char *name, PyObject *value);
 
62
int constant_insert( BPy_constant * self, char *name, PyObject * value );
61
63
 
62
 
#endif /* EXPP_constant_H */
 
64
#endif                          /* EXPP_constant_H */