eris: upgrade flagbits to 16 bits

This commit is contained in:
2021-08-09 13:20:32 -04:00
parent fb6bd8d163
commit 63c7357e92
5 changed files with 20 additions and 20 deletions

View File

@@ -237,17 +237,17 @@ LUA_API void (lua_getuservalue) (lua_State *L, int idx);
/*
** set functions (stack -> Lua)
*/
LUA_API void (lua_setglobal) (lua_State *L, const char *var);
LUA_API void (lua_settable) (lua_State *L, int idx);
LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k);
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_rawsetp) (lua_State *L, int idx, const void *p);
LUA_API int (lua_setmetatable) (lua_State *L, int objindex);
LUA_API void (lua_setuservalue) (lua_State *L, int idx);
LUA_API void (lua_setflagbits) (lua_State *L, int idx, unsigned char bits);
LUA_API void (lua_modflagbits) (lua_State *L, int idx, unsigned char set, unsigned char clear);
LUA_API unsigned char (lua_getflagbits) (lua_State *L, int idx);
LUA_API void (lua_setglobal) (lua_State *L, const char *var);
LUA_API void (lua_settable) (lua_State *L, int idx);
LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k);
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_rawsetp) (lua_State *L, int idx, const void *p);
LUA_API int (lua_setmetatable) (lua_State *L, int objindex);
LUA_API void (lua_setuservalue) (lua_State *L, int idx);
LUA_API void (lua_setflagbits) (lua_State *L, int idx, unsigned short bits);
LUA_API void (lua_modflagbits) (lua_State *L, int idx, unsigned short set, unsigned short clear);
LUA_API unsigned short (lua_getflagbits) (lua_State *L, int idx);
/*
** 'load' and 'call' functions (load and run Lua code)