mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 04:28:05 +02:00
20 lines
226 B
ObjectPascal
20 lines
226 B
ObjectPascal
unit uw2834;
|
|
|
|
{$ifdef fpc}{$mode objfpc}{$H+}{$endif}
|
|
|
|
interface
|
|
|
|
type
|
|
TMyType = 1..2;
|
|
|
|
function PrintTypeInfo:pointer;
|
|
|
|
implementation
|
|
|
|
function PrintTypeInfo:pointer;
|
|
begin
|
|
result:=pointer(TypeInfo(TMyType));
|
|
end;
|
|
|
|
end.
|