diff options
author | chai <chaifix@163.com> | 2018-05-18 15:27:59 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-18 15:27:59 +0800 |
commit | 9458eb868631b29e00182c37f1c7e46981b68edd (patch) | |
tree | 2dea921057473e91e8267d997c743896887f7618 /src/script/audio/luaopen_Source.cpp | |
parent | 1b773ad2c250e09c09c065eb3eec64bfebde09ca (diff) |
GC
Diffstat (limited to 'src/script/audio/luaopen_Source.cpp')
-rw-r--r-- | src/script/audio/luaopen_Source.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
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; + } + +} +} |