aboutsummaryrefslogtreecommitdiff
path: root/src/luaconf.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-08-25 23:02:29 +0200
committerMike Pall <mike>2012-08-25 23:02:29 +0200
commit4c882fe71406a923f07c8e9a0b9189036e0ba386 (patch)
tree22aa3995b5bdc2fce05ba17488799e67abc635ba /src/luaconf.h
parent653facd0d5c1a4f7eae43eefbf8148f57e28e606 (diff)
downloadluajit-4c882fe71406a923f07c8e9a0b9189036e0ba386.tar.gz
luajit-4c882fe71406a923f07c8e9a0b9189036e0ba386.tar.bz2
luajit-4c882fe71406a923f07c8e9a0b9189036e0ba386.zip
Replace strtod() with builtin string to number conversion.
Diffstat (limited to 'src/luaconf.h')
-rw-r--r--src/luaconf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/luaconf.h b/src/luaconf.h
index dfb79e19..5c29d4f3 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -98,7 +98,6 @@
98#define LUA_NUMBER_FMT "%.14g" 98#define LUA_NUMBER_FMT "%.14g"
99#define lua_number2str(s, n) sprintf((s), LUA_NUMBER_FMT, (n)) 99#define lua_number2str(s, n) sprintf((s), LUA_NUMBER_FMT, (n))
100#define LUAI_MAXNUMBER2STR 32 100#define LUAI_MAXNUMBER2STR 32
101#define lua_str2number(s, p) strtod((s), (p))
102#define LUA_INTFRMLEN "l" 101#define LUA_INTFRMLEN "l"
103#define LUA_INTFRM_T long 102#define LUA_INTFRM_T long
104 103