FFI: Avoid unused functions if FFI is disabled.
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
LJ_FUNC void lj_meta_init(lua_State *L);
|
||||
LJ_FUNC cTValue *lj_meta_cache(GCtab *mt, MMS mm, GCstr *name);
|
||||
LJ_FUNC cTValue *lj_meta_lookup(lua_State *L, cTValue *o, MMS mm);
|
||||
#if LJ_HASFFI
|
||||
LJ_FUNC int lj_meta_tailcall(lua_State *L, cTValue *tv);
|
||||
#endif
|
||||
|
||||
#define lj_meta_fastg(g, mt, mm) \
|
||||
((mt) == NULL ? NULL : ((mt)->nomm & (1u<<(mm))) ? NULL : \
|
||||
|
||||
Reference in New Issue
Block a user