Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-12

missing GetPropList overloaded mehod

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi

I am using the following FPC version:
Free Pascal Compiler version 2.0.1 [2005/10/02] for i386 on Windows 2000

In the file:
\rtl\objpas\typinfo.pp

there is a missing GetPropList overloaded method compared to Delphi. I noticed this while porting a Delphi app to FPC.

--------------  CUT  --------------------
function GetPropList(AObject: TObject; out PropList: PPropList): Integer;
begin
   Result := GetPropList(PTypeInfo(AObject.ClassInfo), PropList);
end;
--------------  END  --------------------

Attached is the diff/patch file for the changes.

Regards,
- Graeme -

Reply by email