FFI: Record C library namespace lookups.

This commit is contained in:
Mike Pall
2011-02-05 14:16:16 +01:00
parent 223d85aa06
commit 14f5103764
8 changed files with 53 additions and 11 deletions

View File

@@ -239,7 +239,7 @@ static TValue *ffi_clib_index(lua_State *L)
return lj_clib_index(L, cl, strV(o+1));
}
LJLIB_CF(ffi_clib___index)
LJLIB_CF(ffi_clib___index) LJLIB_REC(clib_index)
{
TValue *tv = ffi_clib_index(L);
if (tviscdata(tv)) {