mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 01:01:33 +02:00
The ffi_closure_alloc return fCode is real do
This commit is contained in:
parent
061c8b5f25
commit
8032b65442
@ -796,7 +796,7 @@ end;
|
||||
|
||||
function TFFIFunctionCallback.GetCodeAddress: CodePointer;
|
||||
begin
|
||||
Result := fData;
|
||||
Result := fCode;
|
||||
end;
|
||||
|
||||
constructor TFFIFunctionCallback.Create(aContext: Pointer; aCallConv: TCallConv; constref aArgs: array of TFunctionCallParameterInfo; aResultType: PTypeInfo; aFlags: TFunctionCallFlags);
|
||||
|
Loading…
Reference in New Issue
Block a user