summaryrefslogtreecommitdiffhomepage
path: root/tasks/doc.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-12-29 16:23:33 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-12-29 16:39:29 +0900
commit4f297ac29cec0c12aae1f7fd56390fdb6b925547 (patch)
tree784efb6605d34bae3267be8908d35acbf5f96eb4 /tasks/doc.rake
parentb6283978c586702e1b2ff182b83ceb3e2bf691b3 (diff)
downloadmruby-4f297ac29cec0c12aae1f7fd56390fdb6b925547.tar.gz
mruby-4f297ac29cec0c12aae1f7fd56390fdb6b925547.zip
object.c: introduce `mrb_ensure_{int,float}_type`.
Since `mrb_to_integer` and `mrb_to_float` does not convert the object but checks types, they are named so by historical reason. We introduced properly named functions. This commit obsoletes the following functions: * mrb_to_integer() * mrb_to_int() * mrb_to_float() Use `mrb_ensure_int_type()` instead for the first 2 functions. Use `mrb_ensure_float_type()` for the last.
Diffstat (limited to 'tasks/doc.rake')
0 files changed, 0 insertions, 0 deletions