internal.h: add mrb_check_num_exact prototype to the header

This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-05-30 08:54:05 +09:00
parent e84060a900
commit 795044f82c
3 changed files with 3 additions and 6 deletions
+3
View File
@@ -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);