mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
internal.h: add mrb_check_num_exact prototype to the header
This commit is contained in:
@@ -91,6 +91,9 @@ mrb_value mrb_int_sub(mrb_state *mrb, mrb_value x, mrb_value y);
|
||||
mrb_value mrb_int_mul(mrb_state *mrb, mrb_value x, mrb_value y);
|
||||
mrb_noreturn void mrb_int_zerodiv(mrb_state *mrb);
|
||||
mrb_noreturn void mrb_int_overflow(mrb_state *mrb, const char *reason);
|
||||
#ifndef MRB_NO_FLOAT
|
||||
void mrb_check_num_exact(mrb_state *mrb, mrb_float num);
|
||||
#endif
|
||||
|
||||
#ifdef MRB_USE_COMPLEX
|
||||
mrb_value mrb_complex_new(mrb_state *mrb, mrb_float x, mrb_float y);
|
||||
|
||||
Reference in New Issue
Block a user