diff options
Diffstat (limited to 'src/lua/thread/luaopen_Thread.cpp')
-rw-r--r-- | src/lua/thread/luaopen_Thread.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lua/thread/luaopen_Thread.cpp b/src/lua/thread/luaopen_Thread.cpp index a427e30..141b873 100644 --- a/src/lua/thread/luaopen_Thread.cpp +++ b/src/lua/thread/luaopen_Thread.cpp @@ -212,7 +212,6 @@ namespace lua return 0; } - // jin.thread.Thread(name) static int l_newThread(lua_State* L) { const char* name = luax_checkstring(L, 1); @@ -231,7 +230,7 @@ namespace lua } static const luaL_Reg f[] = { - { "Thread", l_newThread }, + { "newThread", l_newThread }, { "getThread", l_getThread }, { 0, 0 } }; @@ -245,5 +244,5 @@ namespace lua return 1; } -} -}
\ No newline at end of file +} // lua +} // jin
\ No newline at end of file |