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:
authorChris Want <cwant@ualberta.ca>2005-08-24 02:12:06 +0400
committerChris Want <cwant@ualberta.ca>2005-08-24 02:12:06 +0400
commitbc3f228bc9ccae8382c0a01d626301e604819088 (patch)
tree90a40844776b1a778f20f2bdb42ec0e0d84d1a90 /source/blender/python/api2_2x/constant.h
parent1ac5239764a08d009f24d2546ba544733b5707b8 (diff)
Variable was defined in a header file (constant_Type), resulting in
'multiply defined symbol' warning on IRIX for every file that included that file. Moved to a C source file.
Diffstat (limited to 'source/blender/python/api2_2x/constant.h')
-rw-r--r--source/blender/python/api2_2x/constant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/constant.h b/source/blender/python/api2_2x/constant.h
index 9cd0aadc6f9..aeeb9675495 100644
--- a/source/blender/python/api2_2x/constant.h
+++ b/source/blender/python/api2_2x/constant.h
@@ -38,7 +38,7 @@
//-------------------TYPE CHECKS---------------------------------
#define BPy_Constant_Check(v) ((v)->ob_type==&constant_Type)
//-------------------TYPEOBJECT----------------------------------
-PyTypeObject constant_Type;
+extern PyTypeObject constant_Type;
//-------------------STRUCT DEFINITION---------------------------
typedef struct {
PyObject_HEAD