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

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/Build.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: Build.h,v 1.7 2004/10/07 19:25:39 stiv Exp $
2
3
 *
3
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
4
5
 *
33
34
#define EXPP_BUILD_H
34
35
 
35
36
#include <Python.h>
36
 
 
37
 
 
38
 
 
39
37
#include <DNA_effect_types.h>
40
 
 
41
 
 
42
 
#include "bpy_types.h"
43
38
#include "Effect.h"
44
39
 
 
40
 
 
41
extern PyTypeObject Build_Type;
 
42
 
 
43
#define BPy_Build_Check(v) ((v)->ob_type==&Build_Type)
 
44
 
 
45
/* Python BPy_Build structure definition */
 
46
typedef struct {
 
47
        PyObject_HEAD           /* required py macro */
 
48
        Effect * build;
 
49
} BPy_Build;
 
50
 
 
51
 
45
52
/*****************************************************************************/
46
53
/* Python API function prototypes for the Build module.                      */
47
54
/*****************************************************************************/
48
 
PyObject *M_Build_New (PyObject * self, PyObject * args);
49
 
PyObject *M_Build_Get (PyObject * self, PyObject * args);
50
 
 
51
 
 
52
 
 
53
 
/*****************************************************************************/
54
 
/* Python BPy_Build methods declarations:                                      */
55
 
/*****************************************************************************/
56
 
PyObject *Build_getLen (BPy_Build * self);
57
 
PyObject *Build_setLen (BPy_Build * self, PyObject * a);
58
 
PyObject *Build_getSfra (BPy_Build * self);
59
 
PyObject *Build_setSfra (BPy_Build * self, PyObject * a);
 
55
PyObject *M_Build_New( PyObject * self, PyObject * args );
 
56
PyObject *M_Build_Get( PyObject * self, PyObject * args );
 
57
 
 
58
 
 
59
 
 
60
/*****************************************************************************/
 
61
/* Python BPy_Build methods declarations:                                    */
 
62
/*****************************************************************************/
 
63
PyObject *Build_getLen( BPy_Build * self );
 
64
PyObject *Build_setLen( BPy_Build * self, PyObject * a );
 
65
PyObject *Build_getSfra( BPy_Build * self );
 
66
PyObject *Build_setSfra( BPy_Build * self, PyObject * a );
60
67
 
61
68
 
62
69
 
63
70
/*****************************************************************************/
64
71
/* Python Build_Type callback function prototypes:                           */
65
72
/*****************************************************************************/
66
 
void BuildDeAlloc (BPy_Build * msh);
 
73
void BuildDeAlloc( BPy_Build * msh );
67
74
//int BuildPrint (BPy_Build *msh, FILE *fp, int flags);
68
 
int BuildSetAttr (BPy_Build * msh, char *name, PyObject * v);
69
 
PyObject *BuildGetAttr (BPy_Build * msh, char *name);
70
 
PyObject *BuildRepr (BPy_Build * msh);
71
 
PyObject *BuildCreatePyObject (struct Effect *build);
72
 
int BuildCheckPyObject (PyObject * py_obj);
73
 
struct Build *BuildFromPyObject (PyObject * py_obj);
74
 
 
75
 
 
76
 
 
77
 
#endif /* EXPP_BUILD_H */
 
75
int BuildSetAttr( BPy_Build * msh, char *name, PyObject * v );
 
76
PyObject *BuildGetAttr( BPy_Build * msh, char *name );
 
77
PyObject *BuildRepr( BPy_Build * msh );
 
78
PyObject *BuildCreatePyObject( struct Effect *build );
 
79
int BuildCheckPyObject( PyObject * py_obj );
 
80
struct Build *BuildFromPyObject( PyObject * py_obj );
 
81
 
 
82
 
 
83
 
 
84
#endif                          /* EXPP_BUILD_H */