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

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/Object.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: Object.h,v 1.26 2005/05/22 17:40:00 stiv Exp $
2
3
 *
3
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
4
5
 *
44
45
#include <BKE_mesh.h>
45
46
#include <BKE_object.h>
46
47
#include <BKE_scene.h>
47
 
#include <BKE_displist.h> /* for makeDispList */
48
 
#include <BKE_font.h> /* for text_to_font */
 
48
#include <BKE_displist.h>       /* for makeDispList */
 
49
#include <BKE_font.h>           /* for text_to_font */
49
50
#include <BLI_arithb.h>
50
51
#include <BLI_blenlib.h>
51
52
#include <DNA_armature_types.h>
58
59
#include <DNA_view3d_types.h>
59
60
#include <DNA_action_types.h>
60
61
 
61
 
#include "bpy_types.h"
62
62
#include "gen_utils.h"
63
 
#include "modules.h"
64
63
#include "vector.h"
65
64
#include "matrix.h"
66
65
#include "euler.h"
70
69
extern PyTypeObject Object_Type;
71
70
 
72
71
#define BPy_Object_Check(v) \
73
 
    ((v)->ob_type == &Object_Type) /* for type checking */
 
72
    ((v)->ob_type == &Object_Type)      /* for type checking */
74
73
 
75
74
/*****************************************************************************/
76
 
/* Python BPy_Object structure definition.                                     */
 
75
/* Python BPy_Object structure definition.                                  */
77
76
/*****************************************************************************/
78
77
typedef struct {
79
 
    PyObject_HEAD
80
 
    struct Object   * object;
 
78
        PyObject_HEAD struct Object *object;
81
79
} BPy_Object;
82
80
 
83
 
int EXPP_add_obdata(struct Object *object);
84
 
 
85
 
#endif /* EXPP_OBJECT_H */
 
81
 
 
82
PyObject *Object_Init( void );
 
83
PyObject *Object_CreatePyObject( struct Object *obj );
 
84
Object *Object_FromPyObject( PyObject * py_obj );
 
85
int Object_CheckPyObject( PyObject * py_obj );
 
86
Object *GetObjectByName( char *name );
 
87
 
 
88
int EXPP_add_obdata( struct Object *object );
 
89
 
 
90
#endif                          /* EXPP_OBJECT_H */