summaryrefslogtreecommitdiffhomepage
path: root/src/math.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-07-29 17:42:17 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-07-29 17:42:17 -0700
commitff707384c37c2b12623055c00ba8b9a23aca9974 (patch)
tree0586e062177c9cdd61be6074db8c5513e436b110 /src/math.c
parentd0c1b7b4a8cad2c5a01ccfbe97ffd0381f592f39 (diff)
parent50b9f54a6527477d825049c4f0a8f14f7bb4482c (diff)
downloadmruby-ff707384c37c2b12623055c00ba8b9a23aca9974.tar.gz
mruby-ff707384c37c2b12623055c00ba8b9a23aca9974.zip
Merge pull request #407 from silverhammermba/cpp
C++ compatibility
Diffstat (limited to 'src/math.c')
-rw-r--r--src/math.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/math.c b/src/math.c
index cf9a20489..519d4f37b 100644
--- a/src/math.c
+++ b/src/math.c
@@ -5,6 +5,7 @@
*/
#include "mruby.h"
+#include "mruby/array.h"
#ifdef ENABLE_MATH
#include <math.h>
@@ -88,10 +89,6 @@ erfc(double x)
#endif
-
-mrb_value
-mrb_assoc_new(mrb_state *mrb, mrb_value car, mrb_value cdr);
-
/*
TRIGONOMETRIC FUNCTIONS
*/