summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-06-11 12:31:49 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-06-11 16:44:47 +0900
commitf7777f64e6f8bbbe7048306e2834eb5726d2676b (patch)
tree86706f3213854e7b2319ad71c455f519a59fd7bb /include/mruby.h
parent49af1fca03173f415c5634dafdce3ee81cc01401 (diff)
downloadmruby-f7777f64e6f8bbbe7048306e2834eb5726d2676b.tar.gz
mruby-f7777f64e6f8bbbe7048306e2834eb5726d2676b.zip
codegen.c: refactor `readint()`
* renamed from redundant `readint_mrb_int()` * supports only base upto 16 * no base validation (already done in parser) * no negative read (negate after read) * overflow detection using `mrb_int_{mul,add}_overflow()`
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions