diff options
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/luaopen_jin.cpp | 4 | ||||
-rw-r--r-- | src/lua/net/luaopen_net.cpp | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/lua/luaopen_jin.cpp b/src/lua/luaopen_jin.cpp index c50db14..6fbac77 100644 --- a/src/lua/luaopen_jin.cpp +++ b/src/lua/luaopen_jin.cpp @@ -1,7 +1,5 @@ #include "luaopen_jin.h" #include "lua/luax.h" - -// embed all lua scripts #include "embed/embed.h" namespace jin @@ -60,7 +58,7 @@ namespace lua {"mouse", luaopen_mouse}, {"keyboard", luaopen_keyboard}, {"filesystem", luaopen_filesystem}, - {"net", luaopen_net}, + //{"net", luaopen_net}, {"audio", luaopen_audio}, {"joypad", luaopen_joypad}, {0, 0} diff --git a/src/lua/net/luaopen_net.cpp b/src/lua/net/luaopen_net.cpp index 821f273..633ccdd 100644 --- a/src/lua/net/luaopen_net.cpp +++ b/src/lua/net/luaopen_net.cpp @@ -2,6 +2,7 @@ * Notice: the net module is not finished yet. */ #include "lua/luax.h" +/* #include "3rdparty/tekcos/tekcos.h" namespace jin @@ -13,14 +14,13 @@ namespace lua tk_TCPsocket* sk; }context; - /** - * A table is needed. For example: - * local conf = { - * mode = "server", - * ip = "", - * port = 8000 - * } - */ + //* A table is needed. For example: + //* local conf = { + //* mode = "server", + //* ip = "", + //* port = 8000 + //* } + static int l_open(lua_State* L) { // init context.sk @@ -106,5 +106,7 @@ namespace lua return 1; } + +} } -}
\ No newline at end of file +*/
\ No newline at end of file |