mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Reverting changes to lapi.cpp and lua.h
This commit is contained in:
parent
6144e89902
commit
0ae4231f87
2 changed files with 0 additions and 13 deletions
|
@ -33,7 +33,6 @@ enum lua_Status
|
||||||
LUA_ERRMEM,
|
LUA_ERRMEM,
|
||||||
LUA_ERRERR,
|
LUA_ERRERR,
|
||||||
LUA_BREAK, /* yielded for a debug breakpoint */
|
LUA_BREAK, /* yielded for a debug breakpoint */
|
||||||
LUA_SIGINT, /* thread stopped after receiving a SIGINT */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct lua_State lua_State;
|
typedef struct lua_State lua_State;
|
||||||
|
@ -206,8 +205,6 @@ LUA_API void lua_rawset(lua_State* L, int idx);
|
||||||
LUA_API void lua_rawseti(lua_State* L, int idx, int n);
|
LUA_API void lua_rawseti(lua_State* L, int idx, int n);
|
||||||
LUA_API int lua_setmetatable(lua_State* L, int objindex);
|
LUA_API int lua_setmetatable(lua_State* L, int objindex);
|
||||||
LUA_API int lua_setfenv(lua_State* L, int idx);
|
LUA_API int lua_setfenv(lua_State* L, int idx);
|
||||||
LUA_API void lua_setstatus(lua_State* L, int status);
|
|
||||||
LUA_API void lua_setinterrupt(lua_State* L, void (*interrupt)(lua_State* Lp, int k));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** `load' and `call' functions (load and run Luau bytecode)
|
** `load' and `call' functions (load and run Luau bytecode)
|
||||||
|
|
|
@ -811,16 +811,6 @@ void lua_getfenv(lua_State* L, int idx)
|
||||||
** set functions (stack -> Lua)
|
** set functions (stack -> Lua)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void lua_setstatus(lua_State* L, int status) {
|
|
||||||
L->status = status;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
void lua_setinterrupt(lua_State* L, void (*interrupt)(lua_State* Lp, int k)) {
|
|
||||||
L->global->cb.interrupt = interrupt;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
void lua_settable(lua_State* L, int idx)
|
void lua_settable(lua_State* L, int idx)
|
||||||
{
|
{
|
||||||
api_checknelems(L, 2);
|
api_checknelems(L, 2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue