mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
object.h: remove MRB_SET_FROZEN_FLAG/MRB_UNSET_FROZEN_FLAG macros
Simple `o->frozen = 1/0` now works.
This commit is contained in:
@@ -24,8 +24,6 @@ struct RBasic {
|
||||
|
||||
#define MRB_OBJ_IS_FROZEN 1
|
||||
#define mrb_frozen_p(o) ((o)->frozen)
|
||||
#define MRB_SET_FROZEN_FLAG(o) ((o)->frozen = 1)
|
||||
#define MRB_UNSET_FROZEN_FLAG(o) ((o)->frozen = 0)
|
||||
|
||||
struct RObject {
|
||||
MRB_OBJECT_HEADER;
|
||||
|
||||
Reference in New Issue
Block a user