summaryrefslogtreecommitdiff
path: root/src/lj_lib.h
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-08 20:35:29 +0100
committerMike Pall <mike>2009-12-08 20:35:29 +0100
commit3f1f9e11f4f699ae94182d4cba158092f434a7f6 (patch)
tree88fbb674a21a1d554d4b1ee9d4ef2c5fed6a1d88 /src/lj_lib.h
parent5287b9326479ea2b7dddd6f642673e58e5a7f354 (diff)
downloadluajit-3f1f9e11f4f699ae94182d4cba158092f434a7f6.tar.gz
luajit-3f1f9e11f4f699ae94182d4cba158092f434a7f6.tar.bz2
luajit-3f1f9e11f4f699ae94182d4cba158092f434a7f6.zip
Fast forward to sync public repo.
Compile math.sinh(), math.cosh(), math.tanh() and math.random(). Compile various io.*() functions. Drive the GC forward on string allocations in the parser. Improve KNUM fuse vs. load heuristics. Add abstract C call handling to IR.
Diffstat (limited to 'src/lj_lib.h')
-rw-r--r--src/lj_lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lj_lib.h b/src/lj_lib.h
index 59a0f2be..a7a6317e 100644
--- a/src/lj_lib.h
+++ b/src/lj_lib.h
@@ -90,4 +90,9 @@ LJ_FUNC void lj_lib_register(lua_State *L, const char *libname,
90#define LIBINIT_FFID 0xfe 90#define LIBINIT_FFID 0xfe
91#define LIBINIT_END 0xff 91#define LIBINIT_END 0xff
92 92
93/* Exported library functions. */
94
95typedef struct RandomState RandomState;
96LJ_FUNC uint64_t LJ_FASTCALL lj_math_random_step(RandomState *rs);
97
93#endif 98#endif