mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Thread:kill()? What Thread:kill()?
This commit is contained in:
@@ -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 },
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user