mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 16:47:53 +02:00
12 lines
160 B
ObjectPascal
12 lines
160 B
ObjectPascal
{$mode objfpc}
|
|
uses
|
|
variants;
|
|
|
|
function VarToObj(const Value: Variant): TObject;
|
|
begin
|
|
Result := TObject(Pointer(NativeInt(Value)));
|
|
end;
|
|
|
|
begin
|
|
end.
|
|
|