Navigation Menu

Skip to content

Commit

Permalink
make_metaclass should skip MRB_TT_ICLASS; close #1369
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Jul 13, 2013
1 parent cbb06d9 commit 24fb4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class.c
Expand Up @@ -55,7 +55,7 @@ mrb_name_class(mrb_state *mrb, struct RClass *c, mrb_sym name)
mrb_obj_iv_set(mrb, (struct RObject*)c,
mrb_intern2(mrb, "__classid__", 11), mrb_symbol_value(name));
}

#define make_metaclass(mrb, c) prepare_singleton_class((mrb), (struct RBasic*)(c))

static void
Expand Down

0 comments on commit 24fb4bf

Please sign in to comment.