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:
authorJean-Luc Peurière <jlp@nerim.net>2005-03-09 22:45:59 +0300
committerJean-Luc Peurière <jlp@nerim.net>2005-03-09 22:45:59 +0300
commitc78e44cdc563853c250da78ee78ba622c39126b2 (patch)
treefb116af7e1edd94ef96ae883bea727be372e2bd2 /source/gameengine/Ketsji/KX_PyMath.h
parent77d44e88e95d86661fc8b29db923083ec747cf9d (diff)
big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors
Diffstat (limited to 'source/gameengine/Ketsji/KX_PyMath.h')
-rw-r--r--source/gameengine/Ketsji/KX_PyMath.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/Ketsji/KX_PyMath.h b/source/gameengine/Ketsji/KX_PyMath.h
index a588334f621..96a3431fe07 100644
--- a/source/gameengine/Ketsji/KX_PyMath.h
+++ b/source/gameengine/Ketsji/KX_PyMath.h
@@ -44,11 +44,11 @@
#include "KX_Python.h"
-static unsigned int Size(const MT_Matrix4x4&) { return 4; }
-static unsigned int Size(const MT_Matrix3x3&) { return 3; }
-static unsigned int Size(const MT_Tuple2&) { return 2; }
-static unsigned int Size(const MT_Tuple3&) { return 3; }
-static unsigned int Size(const MT_Tuple4&) { return 4; }
+inline unsigned int Size(const MT_Matrix4x4&) { return 4; }
+inline unsigned int Size(const MT_Matrix3x3&) { return 3; }
+inline unsigned int Size(const MT_Tuple2&) { return 2; }
+inline unsigned int Size(const MT_Tuple3&) { return 3; }
+inline unsigned int Size(const MT_Tuple4&) { return 4; }
/**
* Converts the given python matrix to an MT class.