[fpc-devel] Class helper: small differences between FPC and Delphi

Florian Klaempfl florian at freepascal.org
Sat Mar 26 14:44:34 CET 2011


Am 25.03.2011 22:33, schrieb Sven Barth:
>
> 2. In Delphi helpers are based on classes and in FPC they are a seperate
> type. I've choosen the later, because it has reduced the need for some
> checks and also simplified the code.
> I noticed the difference when checking the RTTI parent reference of a
> class helper (I had already checked that it is of type tkClass, but
> haven't thought more about it): the result was that all helpers (class
> and record) inherit from a class TClassHelperBase which in turn inherits
> from TInterfacedObject.

What does prevent you to mimic this behaviour?



More information about the fpc-devel mailing list