diff options
Diffstat (limited to 'src/script/audio/luaopen_Sound.cpp')
-rw-r--r-- | src/script/audio/luaopen_Sound.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/script/audio/luaopen_Sound.cpp b/src/script/audio/luaopen_Sound.cpp new file mode 100644 index 0000000..f2767bd --- /dev/null +++ b/src/script/audio/luaopen_Sound.cpp @@ -0,0 +1,25 @@ +#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_Sound(lua_State* L) + { + + return 1; + } +} +} |