mattn / mruby-require

39 stars 23 forks source link

Support mruby 2.x. #49

Closed ongaeshi closed 5 years ago

ongaeshi commented 5 years ago

This is a patch with @matz applied. Need mruby/mruby@98fc887 later.

ongaeshi commented 5 years ago

ref: https://twitter.com/yukihiro_matz/status/1159015760431214592

mattn commented 5 years ago

Thank you

matz commented 5 years ago

FYI, this patch should work for every version including mruby 1.4.x except when pathnames are shorter than RSTRING_EMBED_LEN_MAX.