mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 22:09:28 +02:00
- ValueToFFIValue is no longer needed
git-svn-id: trunk@42073 -
This commit is contained in:
parent
5d6a837b63
commit
45479302c1
@ -298,14 +298,6 @@ begin
|
|||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ValueToFFIValue(constref aValue: Pointer; aKind: TTypeKind; aFlags: TParamFlags; aIsResult: Boolean): Pointer;
|
|
||||||
begin
|
|
||||||
if ArgIsIndirect(aKind, aFlags, aIsResult) then
|
|
||||||
Result := @aValue
|
|
||||||
else
|
|
||||||
Result := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure FFIValueToValue(Source, Dest: Pointer; TypeInfo: PTypeInfo);
|
procedure FFIValueToValue(Source, Dest: Pointer; TypeInfo: PTypeInfo);
|
||||||
var
|
var
|
||||||
size: SizeInt;
|
size: SizeInt;
|
||||||
|
Loading…
Reference in New Issue
Block a user