diff options
author | chai <chaifix@163.com> | 2018-08-20 08:15:34 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-20 08:15:34 +0800 |
commit | 98ab086f430d418f33c4410cf81f4eac52d5b835 (patch) | |
tree | 446cce66de209a10c9342bf98e21524de6e4ba05 /src/lua/thread/luaopen_Thread.cpp | |
parent | 22bb9b537caff927ef8c83bde82d58253ffbb1e4 (diff) |
*update
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 |