eris: add 'getnextid' and 'setnextid'
This commit is contained in:
@@ -456,6 +456,15 @@ LUA_API const void *lua_topointer (lua_State *L, int idx) {
|
||||
}
|
||||
|
||||
|
||||
LUA_API lua_Integer lua_getnextid (lua_State *L) {
|
||||
return L->nextid;
|
||||
}
|
||||
|
||||
|
||||
LUA_API void lua_setnextid (lua_State *L, lua_Integer id) {
|
||||
L->nextid = id;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
** push functions (C -> stack)
|
||||
|
||||
Reference in New Issue
Block a user