mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
FFI: Fix resolving of function name redirects on Windows/x86.
This commit is contained in:
parent
bcd459aa0e
commit
03275ba7fc
@ -301,10 +301,11 @@ static CTSize clib_func_argsize(CTState *cts, CType *ct)
|
|||||||
while (ct->sib) {
|
while (ct->sib) {
|
||||||
CType *d;
|
CType *d;
|
||||||
ct = ctype_get(cts, ct->sib);
|
ct = ctype_get(cts, ct->sib);
|
||||||
lua_assert(ctype_isfield(ct->info));
|
if (ctype_isfield(ct->info)) {
|
||||||
d = ctype_rawchild(cts, ct);
|
d = ctype_rawchild(cts, ct);
|
||||||
n += ((d->size + 3) & ~3);
|
n += ((d->size + 3) & ~3);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user