summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-object-ext/src
AgeCommit message (Collapse)Author
2020-10-12Rename float configuration option names.Yukihiro "Matz" Matsumoto
- `MRB_WITHOUT_FLOAT` => `MRB_NO_FLOAT` - `MRB_USE_FLOAT` => `MRB_USE_FLOAT32` The former is to use `USE_XXX` naming convention. The latter is to make sure `float` is 32bit float and not floating point number in general.
2020-10-12Use functions that take symbols to reduce string litrals in C.Yukihiro "Matz" Matsumoto
2020-04-22Fix `instance_exec` and `class_exec` to avoid crash on indirect calls.Yukihiro "Matz" Matsumoto
Thank you @shuujii to additional report on #4973
2019-09-16Entrust "no block given" error to `mrb_get_args()`dearblue
Some error messages will be changed.
2019-07-24Move `NilClass#to_h` to `mruby-object-ext` from `mruby-enum-ext`KOBAYASHI Shuji
2019-05-29`Kernel#itself` should not be a module functionKOBAYASHI Shuji
2019-05-19Merge pull request #4450 from shuujii/move-Kernel-instance_exec-to-BasicObjectYukihiro "Matz" Matsumoto
Move `Kernel#instance_exec` to `BasicObject`
2019-05-19Should clarify the role of `mruby-kernel-ext` and `mruby-object-ext`; close ↵Yukihiro "Matz" Matsumoto
#4449 The former should contain function like methods, and the latter should contain methods shared by all objects.
2019-05-18Move `Kernel#instance_exec` to `BasicObject`KOBAYASHI Shuji
2017-10-16Support MRB_WIHTOUT_FLOAT to mruby-object-extYAMAMOTO Masaya
2017-06-27No longer need to copy `argv` from `mrb_get_args`; ref #3722Yukihiro "Matz" Matsumoto
2017-04-19Use trampoline technique for `instance_exec`; ref #3359Yukihiro "Matz" Matsumoto
A new function `mrb_yield_cont()` is provided. You have to call it at the end of a C defined method, e.g. `return mrb_yield_cont()`.
2017-03-13Need to copy argv since it may be reallocated; fix #3500Yukihiro "Matz" Matsumoto
The argv for `mrb_yield_with_class()` should not be on mruby stack. Note the result from `mrb_get_args("*")` is on the stack.
2017-02-15Move #instance_exec to Kernel moduleYukihiro "Matz" Matsumoto
CRuby defines #instance_exec in BasicObject, but we don't. It's a small incompatibility that isn't worth accomplish at the price of implementation complexity.
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2014-08-21changed to call check_cv_name_str in check_cv_name_sym and adjust indentkkkkkt
2014-04-25Use mrb_int in mrbgem rest argument getting.take_cheeze
2014-03-19rename mrb_yield_internal to mrb_yield_with_class since it's no longer internalYukihiro "Matz" Matsumoto
2014-03-19export mrb_yield_internal.Tomoyuki Sahara
2013-07-27I replace 0 with NULL because struct pointer be should set NULL in.Jun Hiroe
2013-07-01Add Object#instance_exech2so5
2013-06-28add nil.to_a, nil.to_f, nil.to_i methodsAkira Yumiyama