[fpc-devel] RTTI difference

Leonardo M. Ram� martinrame at yahoo.com
Fri Jul 21 01:22:16 CEST 2006


I found a difference between the TPropInfo record GetProc and SetProc pointers between Delphi and
FPC, when i check a class like this:

type
  TMyClass = class(TPersistent)
  private
    FAttrib1: Integer;
  published
    property Attrib: Integer read FAttrib write FAttrib;
  end;

In Delphi, when i do GetPropInfo(TMyClass, Attrib)^.GetProc it gives a nil value, right, because i
don´t have declared a getter for this property, with SetProc is the same.

In FPC, the results never are nil. Is this the correct behavior, or is a bug?


Leonardo M. Ramé
http://leonardorame.blogspot.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the fpc-devel mailing list