From 9458eb868631b29e00182c37f1c7e46981b68edd Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 18 May 2018 15:27:59 +0800 Subject: GC --- src/script/audio/luaopen_Source.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/script/audio/luaopen_Source.cpp (limited to 'src/script/audio/luaopen_Source.cpp') diff --git a/src/script/audio/luaopen_Source.cpp b/src/script/audio/luaopen_Source.cpp new file mode 100644 index 0000000..2ab5d16 --- /dev/null +++ b/src/script/audio/luaopen_Source.cpp @@ -0,0 +1,26 @@ +#include "3rdparty/luax/luax.h" + +namespace jin +{ +namespace lua +{ + + static int l_play(lua_State* L) + { + + return 0; + } + + static const luaL_Reg f[] = { + {"play", l_play}, + {0, 0} + }; + + int luaopen_Source(lua_State* L) + { + + return 1; + } + +} +} -- cgit v1.1-26-g67d0