Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-02-27 07:28:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-02-27 07:28:15 +0300
commit58d1a25da0a2b3cf0a9d03bc50c6b1e5d9e4c21a (patch)
tree47fee3e53657407ff5c84f701ede0c68580f67d6 /source/blender/python/api2_2x/Lattice.h
parentd3f9e661de16487f9857c777e1201a15b25c8a95 (diff)
moved Lattice to getseters. gen_utils.c - removed unused code fixed a warning.
Diffstat (limited to 'source/blender/python/api2_2x/Lattice.h')
-rw-r--r--source/blender/python/api2_2x/Lattice.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/Lattice.h b/source/blender/python/api2_2x/Lattice.h
index 05d8d771193..36c69d67215 100644
--- a/source/blender/python/api2_2x/Lattice.h
+++ b/source/blender/python/api2_2x/Lattice.h
@@ -36,18 +36,17 @@
#include <Python.h>
#include "DNA_lattice_types.h"
-
+/* The Group PyTypeObject defined in Lattice.c */
+extern PyTypeObject Lattice_Type;
/*****************************************************************************/
/* Python BPy_Lattice structure definition: */
/*****************************************************************************/
typedef struct {
PyObject_HEAD
- Lattice * Lattice; /* libdata must be second */
+ Lattice * lattice; /* libdata must be second */
} BPy_Lattice;
-
-
/*
* prototypes
*/
@@ -57,5 +56,4 @@ PyObject *Lattice_CreatePyObject( Lattice * lt );
Lattice *Lattice_FromPyObject( PyObject * pyobj );
int Lattice_CheckPyObject( PyObject * pyobj );
-
#endif /* EXPP_LATTICE_H */