summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-12-03 18:55:52 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-12-03 18:55:52 +0900
commit5c651d6ce94449df8f096b624bc99fd4de3d698e (patch)
tree9cd9b69b29d05123cd3b85244a05cebaaf642c09 /src/string.c
parenta0fbc46ccd3e129532b05a9fe4f13f42a3c349b2 (diff)
downloadmruby-5c651d6ce94449df8f096b624bc99fd4de3d698e.tar.gz
mruby-5c651d6ce94449df8f096b624bc99fd4de3d698e.zip
add MRB_API to mrb_float_read(); ref #3270
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index e3a268f78..4f722b273 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2796,7 +2796,7 @@ static const double powersOf10[] = {/* Table giving binary powers of 10. Entry
1.0e256
};
-double
+MRB_API double
mrb_float_read(const char *string, char **endPtr)
/* const char *string; A decimal ASCII floating-point number,
* optionally preceded by white space.