mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
FFI: Fix __index/__newindex metamethod resolution for ctypes.
This commit is contained in:
parent
59d290656a
commit
66515a054c
@ -136,6 +136,7 @@ static int ffi_index_meta(lua_State *L, CTState *cts, CType *ct, MMS mm)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
copyTV(L, base, L->top);
|
||||||
tv = L->top-1;
|
tv = L->top-1;
|
||||||
}
|
}
|
||||||
return lj_meta_tailcall(L, tv);
|
return lj_meta_tailcall(L, tv);
|
||||||
|
Loading…
Reference in New Issue
Block a user