eris: upgrade flagbits to 16 bits
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user