mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +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) {
|
||||
CType *d;
|
||||
ct = ctype_get(cts, ct->sib);
|
||||
lua_assert(ctype_isfield(ct->info));
|
||||
if (ctype_isfield(ct->info)) {
|
||||
d = ctype_rawchild(cts, ct);
|
||||
n += ((d->size + 3) & ~3);
|
||||
}
|
||||
}
|
||||
return n;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user