summaryrefslogtreecommitdiff
path: root/src/lj_str.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/lj_str.h
parent653facd0d5c1a4f7eae43eefbf8148f57e28e606 (diff)
downloadluajit2-4c882fe71406a923f07c8e9a0b9189036e0ba386.tar.gz
Replace strtod() with builtin string to number conversion.
Diffstat (limited to 'src/lj_str.h')
-rw-r--r--src/lj_str.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lj_str.h b/src/lj_str.h
index 3d9be4f3..2bf34ed4 100644
--- a/src/lj_str.h
+++ b/src/lj_str.h
@@ -20,9 +20,6 @@ LJ_FUNC void LJ_FASTCALL lj_str_free(global_State *g, GCstr *s);
#define lj_str_newlit(L, s) (lj_str_new(L, "" s, sizeof(s)-1))
/* Type conversions. */
-LJ_FUNC int LJ_FASTCALL lj_str_numconv(const char *s, TValue *n);
-LJ_FUNC int LJ_FASTCALL lj_str_tonum(GCstr *str, TValue *n);
-LJ_FUNC int LJ_FASTCALL lj_str_tonumber(GCstr *str, TValue *n);
LJ_FUNC size_t LJ_FASTCALL lj_str_bufnum(char *s, cTValue *o);
LJ_FUNC char * LJ_FASTCALL lj_str_bufint(char *p, int32_t k);
LJ_FUNCA GCstr * LJ_FASTCALL lj_str_fromnum(lua_State *L, const lua_Number *np);