mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 19:48:01 +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;
|
function TFFIFunctionCallback.GetCodeAddress: CodePointer;
|
||||||
begin
|
begin
|
||||||
Result := fData;
|
Result := fCode;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TFFIFunctionCallback.Create(aContext: Pointer; aCallConv: TCallConv; constref aArgs: array of TFunctionCallParameterInfo; aResultType: PTypeInfo; aFlags: TFunctionCallFlags);
|
constructor TFFIFunctionCallback.Create(aContext: Pointer; aCallConv: TCallConv; constref aArgs: array of TFunctionCallParameterInfo; aResultType: PTypeInfo; aFlags: TFunctionCallFlags);
|
||||||
|
Loading…
Reference in New Issue
Block a user