[warning-fix][array-subscript-has-type-char]
This commit is contained in:
@@ -97,10 +97,10 @@ GLOBAL struct Object * OBJ;
|
||||
/* macro function definitions */
|
||||
/******************************/
|
||||
|
||||
#define OBJget_symbol(obj,type) (*OBJ[type].get_symbol)(obj)
|
||||
#define OBJget_type(_type_) (OBJ[_type_].type)
|
||||
#define OBJget_bits(_type_) (OBJ[_type_].bits)
|
||||
#define OBJtype_is_oneof(_type_,class) (OBJ[_type_].bits & (class))
|
||||
#define OBJget_symbol(obj,type) (*OBJ[(int)type].get_symbol)(obj)
|
||||
#define OBJget_type(_type_) (OBJ[(int)_type_].type)
|
||||
#define OBJget_bits(_type_) (OBJ[(int)_type_].bits)
|
||||
#define OBJtype_is_oneof(_type_,class) (OBJ[(int)_type_].bits & (class))
|
||||
#define OBJget_name(obj,type) (OBJget_symbol(obj,type)->name)
|
||||
|
||||
/* for backwards compatibility */
|
||||
|
||||
Reference in New Issue
Block a user