aboutsummaryrefslogtreecommitdiff
path: root/src/lj_tab.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-10-09 17:01:22 +0200
committerMike Pall <mike>2013-10-09 17:02:01 +0200
commitc8cfca05578932567d2c65d59262f398e8acaed2 (patch)
tree5699e7f2df3a5166eee667b0971775cea6c0ab4b /src/lj_tab.h
parent47df3ae5136521da96767e6daed4cdd241de2fa6 (diff)
downloadluajit-c8cfca05578932567d2c65d59262f398e8acaed2.tar.gz
luajit-c8cfca05578932567d2c65d59262f398e8acaed2.tar.bz2
luajit-c8cfca05578932567d2c65d59262f398e8acaed2.zip
Add table.new().
Diffstat (limited to 'src/lj_tab.h')
-rw-r--r--src/lj_tab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_tab.h b/src/lj_tab.h
index d361137c..c57bdd82 100644
--- a/src/lj_tab.h
+++ b/src/lj_tab.h
@@ -34,6 +34,7 @@ static LJ_AINLINE uint32_t hashrot(uint32_t lo, uint32_t hi)
34#define hsize2hbits(s) ((s) ? ((s)==1 ? 1 : 1+lj_fls((uint32_t)((s)-1))) : 0) 34#define hsize2hbits(s) ((s) ? ((s)==1 ? 1 : 1+lj_fls((uint32_t)((s)-1))) : 0)
35 35
36LJ_FUNCA GCtab *lj_tab_new(lua_State *L, uint32_t asize, uint32_t hbits); 36LJ_FUNCA GCtab *lj_tab_new(lua_State *L, uint32_t asize, uint32_t hbits);
37LJ_FUNC GCtab *lj_tab_new_ah(lua_State *L, int32_t a, int32_t h);
37#if LJ_HASJIT 38#if LJ_HASJIT
38LJ_FUNC GCtab * LJ_FASTCALL lj_tab_new1(lua_State *L, uint32_t ahsize); 39LJ_FUNC GCtab * LJ_FASTCALL lj_tab_new1(lua_State *L, uint32_t ahsize);
39#endif 40#endif