diff options
Diffstat (limited to 'Runtime')
-rw-r--r-- | Runtime/Lua/LuaBind/LuaBindUtility.h | 5 | ||||
-rw-r--r-- | Runtime/Math/Matrix44.cpp | 0 | ||||
-rw-r--r-- | Runtime/Math/Matrix44.h | 9 |
3 files changed, 13 insertions, 1 deletions
diff --git a/Runtime/Lua/LuaBind/LuaBindUtility.h b/Runtime/Lua/LuaBind/LuaBindUtility.h index c5807c1..b890b57 100644 --- a/Runtime/Lua/LuaBind/LuaBindUtility.h +++ b/Runtime/Lua/LuaBind/LuaBindUtility.h @@ -48,7 +48,10 @@ T* self = state.GetUserdata<T>(1); #define LUA_BIND_CHECK(L, params)\ - if(!state.CheckParams(1, params)) return 0 + if(!state.CheckParams(1, params)) {\ + luaL_error(state, "Unexcepted parameters.");\ + return 0;\ + } #define LUA_BIND_INHERIT(state, type) type::RegisterClass(state) diff --git a/Runtime/Math/Matrix44.cpp b/Runtime/Math/Matrix44.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Runtime/Math/Matrix44.cpp diff --git a/Runtime/Math/Matrix44.h b/Runtime/Math/Matrix44.h new file mode 100644 index 0000000..1ec92fd --- /dev/null +++ b/Runtime/Math/Matrix44.h @@ -0,0 +1,9 @@ +#pragma once + +namespace Internal +{ + class Matrix44 + { + + }; +} |