aboutsummaryrefslogtreecommitdiff
path: root/src/lua/luaopen_jin.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-22 12:28:03 +0800
committerchai <chaifix@163.com>2018-07-22 12:28:03 +0800
commitb2c7bb0b283dd2a80f345e26c042d6ffaf05209c (patch)
treed0945284f54a35ce00de80135ff7863af7b6e32d /src/lua/luaopen_jin.cpp
parent50d060cd3a6831a1712195833c1f2774225e584c (diff)
update
Diffstat (limited to 'src/lua/luaopen_jin.cpp')
-rw-r--r--src/lua/luaopen_jin.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lua/luaopen_jin.cpp b/src/lua/luaopen_jin.cpp
index 93e0422..c50db14 100644
--- a/src/lua/luaopen_jin.cpp
+++ b/src/lua/luaopen_jin.cpp
@@ -8,7 +8,7 @@ namespace jin
{
namespace lua
{
-
+
extern int luaopen_core(lua_State* L);
extern int luaopen_graphics(lua_State* L);
extern int luaopen_audio(lua_State* L);
@@ -53,16 +53,16 @@ namespace lua
// submodules
static const luaL_Reg mods[] = {
- {"core", luaopen_core},
- {"event", luaopen_event},
- {"graphics", luaopen_graphics},
- {"time", luaopen_time},
- {"mouse", luaopen_mouse},
- {"keyboard", luaopen_keyboard},
- {"filesystem", luaopen_filesystem},
- {"net", luaopen_net},
- {"audio", luaopen_audio},
- {"joypad", luaopen_joypad},
+ {"core", luaopen_core},
+ {"event", luaopen_event},
+ {"graphics", luaopen_graphics},
+ {"time", luaopen_time},
+ {"mouse", luaopen_mouse},
+ {"keyboard", luaopen_keyboard},
+ {"filesystem", luaopen_filesystem},
+ {"net", luaopen_net},
+ {"audio", luaopen_audio},
+ {"joypad", luaopen_joypad},
{0, 0}
};