Binding-MRuby: Make stuff work with latest mruby git
This commit is contained in:
parent
ccba946973
commit
48db6fbeda
14 changed files with 28 additions and 30 deletions
|
@ -142,7 +142,7 @@ MRB_METHOD(FontSetDefaultColor)
|
|||
void
|
||||
fontBindingInit(mrb_state *mrb)
|
||||
{
|
||||
RClass *klass = mrb_define_class(mrb, "Font", 0);
|
||||
RClass *klass = defineClass(mrb, "Font");
|
||||
|
||||
Font::setDefaultColor(new Color(*Font::getDefaultColor()));
|
||||
wrapProperty(mrb, mrb_obj_value(klass), Font::getDefaultColor(), CSdefault_color, ColorType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue