mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
word_boxing.h used int to represent symbols; use mrb_sym instead
This commit is contained in:
@@ -44,7 +44,7 @@ typedef union mrb_value {
|
||||
};
|
||||
struct {
|
||||
unsigned int sym_flag : MRB_SPECIAL_SHIFT;
|
||||
int sym : (sizeof(mrb_sym) * CHAR_BIT);
|
||||
mrb_sym sym : (sizeof(mrb_sym) * CHAR_BIT);
|
||||
};
|
||||
struct RBasic *bp;
|
||||
struct RFloat *fp;
|
||||
|
||||
Reference in New Issue
Block a user