summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-04-22 16:44:39 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-04-22 16:44:39 +0900
commit87d1bbe94794304d92fc9a4af5cf17eab5d1534c (patch)
tree820e8b289e58db55ea4a3b298d2af4e7a8fba0bc /src/array.c
parent2e661e82d16cc1d68cf9415b3d4c872fdd798745 (diff)
downloadmruby-87d1bbe94794304d92fc9a4af5cf17eab5d1534c.tar.gz
mruby-87d1bbe94794304d92fc9a4af5cf17eab5d1534c.zip
Add new function `mrb_singleton_class_ptr()`; ref #4973
The difference between `mrb_singleton_class` and `mrb_singleton_class_ptr`: - `mrb_singleton_class_ptr` returns `struct RClass*`. - `mrb_singleton_class_ptr` returns `NULL` on immediate values where `mrb_singleton_class` raises exceptions.
Diffstat (limited to 'src/array.c')
0 files changed, 0 insertions, 0 deletions