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-12-13 18:06:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-13 18:06:02 +0300
commitf15956356c7706c93152f4267cd1cea24b2c9e30 (patch)
tree0b91608e19ce81285823ba8559cfdc118ee220e8 /source/blender/python/api2_2x/Key.c
parent6d6f5bbc1a79c2ed2fb8ce84dd4fc23e4763d926 (diff)
misc warning fixes and one fix for a big in curve allocation
Diffstat (limited to 'source/blender/python/api2_2x/Key.c')
-rw-r--r--source/blender/python/api2_2x/Key.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c
index 88facd80b4e..90a628152e0 100644
--- a/source/blender/python/api2_2x/Key.c
+++ b/source/blender/python/api2_2x/Key.c
@@ -41,6 +41,7 @@
#include <BKE_main.h>
#include <BKE_curve.h>
#include <BKE_library.h>
+#include <BKE_utildefines.h>
#include "BIF_space.h"
#include "Ipocurve.h"
@@ -60,9 +61,6 @@
#define KEY_TYPE_CURVE 1
#define KEY_TYPE_LATTICE 2
-/* macro from blenkernel/intern/key.c:98 */
-#define GS(a) (*((short *)(a)))
-
static int Key_compare( BPy_Key * a, BPy_Key * b );
static PyObject *Key_repr( BPy_Key * self );
static void Key_dealloc( BPy_Key * self );