Thread:kill()? What Thread:kill()?

This commit is contained in:
Bart van Strien
2011-12-13 19:24:10 +01:00
parent e37470f54d
commit 735260d4d8
2 changed files with 0 additions and 9 deletions
-8
View File
@@ -36,13 +36,6 @@ namespace thread
return 0;
}
int w_Thread_kill(lua_State *L)
{
Thread *t = luax_checkthread(L, 1);
t->kill();
return 0;
}
int w_Thread_wait(lua_State *L)
{
Thread *t = luax_checkthread(L, 1);
@@ -152,7 +145,6 @@ namespace thread
static const luaL_Reg type_functions[] = {
{ "start", w_Thread_start },
{ "kill", w_Thread_kill },
{ "wait", w_Thread_wait },
{ "getName", w_Thread_getName },
{ "get", w_Thread_get },
-1
View File
@@ -31,7 +31,6 @@ namespace thread
{
Thread *luax_checkthread(lua_State *L, int idx);
int w_Thread_start(lua_State *L);
int w_Thread_kill(lua_State *L);
int w_Thread_wait(lua_State *L);
int w_Thread_getName(lua_State *L);
int w_Thread_get(lua_State *L);