1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 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; } } }