summaryrefslogtreecommitdiff
path: root/src/lj_str.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-28 21:58:40 +0100
committerMike Pall <mike>2010-02-28 21:58:40 +0100
commit8cc50cf6b1c791e9d7694b5f47dc03f9456d08e1 (patch)
treea0c1bcb22cf7fc88b4937c1b48da145aeec01686 /src/lj_str.h
parent2e22d33d9d256e9a1551229f1b51e2a6f02da2f6 (diff)
downloadluajit-8cc50cf6b1c791e9d7694b5f47dc03f9456d08e1.tar.gz
luajit-8cc50cf6b1c791e9d7694b5f47dc03f9456d08e1.tar.bz2
luajit-8cc50cf6b1c791e9d7694b5f47dc03f9456d08e1.zip
Conditionally compile functions that are unused with JIT disabled.
Diffstat (limited to 'src/lj_str.h')
-rw-r--r--src/lj_str.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_str.h b/src/lj_str.h
index 5a4fcb9a..cdb04568 100644
--- a/src/lj_str.h
+++ b/src/lj_str.h
@@ -23,7 +23,9 @@ LJ_FUNC void LJ_FASTCALL lj_str_free(global_State *g, GCstr *s);
23LJ_FUNC int LJ_FASTCALL lj_str_numconv(const char *s, TValue *n); 23LJ_FUNC int LJ_FASTCALL lj_str_numconv(const char *s, TValue *n);
24LJ_FUNC int LJ_FASTCALL lj_str_tonum(GCstr *str, TValue *n); 24LJ_FUNC int LJ_FASTCALL lj_str_tonum(GCstr *str, TValue *n);
25LJ_FUNCA GCstr * LJ_FASTCALL lj_str_fromnum(lua_State *L, const lua_Number *np); 25LJ_FUNCA GCstr * LJ_FASTCALL lj_str_fromnum(lua_State *L, const lua_Number *np);
26#if LJ_HASJIT
26LJ_FUNC GCstr * LJ_FASTCALL lj_str_fromint(lua_State *L, int32_t k); 27LJ_FUNC GCstr * LJ_FASTCALL lj_str_fromint(lua_State *L, int32_t k);
28#endif
27 29
28/* String formatting. */ 30/* String formatting. */
29LJ_FUNC const char *lj_str_pushvf(lua_State *L, const char *fmt, va_list argp); 31LJ_FUNC const char *lj_str_pushvf(lua_State *L, const char *fmt, va_list argp);