aboutsummaryrefslogtreecommitdiff
path: root/src/lua/thread/luaopen_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/thread/luaopen_thread.cpp')
-rw-r--r--src/lua/thread/luaopen_thread.cpp7
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