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

@@ -898,7 +898,7 @@ 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_setflagbits (lua_State *L, int idx, unsigned short bits) {
TValue *obj;
Table *tab;
lua_lock(L);
@@ -909,7 +909,7 @@ LUA_API void lua_setflagbits (lua_State *L, int idx, unsigned char bits) {
lua_unlock(L);
}
LUA_API void lua_modflagbits (lua_State *L, int idx, unsigned char set, unsigned char clear) {
LUA_API void lua_modflagbits (lua_State *L, int idx, unsigned short set, unsigned short clear) {
TValue *obj;
Table *tab;
lua_lock(L);
@@ -921,7 +921,7 @@ LUA_API void lua_modflagbits (lua_State *L, int idx, unsigned char set, unsigned
lua_unlock(L);
}
LUA_API unsigned char lua_getflagbits (lua_State *L, int idx) {
LUA_API unsigned short lua_getflagbits (lua_State *L, int idx) {
TValue *obj;
Table *tab;
obj = index2addr(L, idx);