mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
class.c: rename mt_/MT_ to mrb_mt_/MRB_MT_ for non-static identifiers
Follow mruby's naming convention: non-static types, macros, and functions use the mrb_/MRB_ prefix. Renamed: - union mt_ptr -> union mrb_mt_ptr - mt_tbl -> mrb_mt_tbl - MT_KEY(), MT_FUNC, MT_NOARG, MT_PUBLIC, MT_PRIVATE -> MRB_MT_* - MT_KEY_SHIFT, MT_READONLY_BIT, MT_REMOVED_P -> MRB_MT_* - mt_init_rom() -> mrb_mt_init_rom() File-local static functions and macros in class.c are unchanged. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ MRB_BEGIN_DECL
|
||||
struct RClass {
|
||||
MRB_OBJECT_HEADER;
|
||||
struct iv_tbl *iv;
|
||||
struct mt_tbl *mt;
|
||||
struct mrb_mt_tbl *mt;
|
||||
struct RClass *super;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user