[fpc-pascal] Delphi RTTI vs Free Pascal RTTI
Karoly Balogh (Charlie/SGR)
charlie at scenergy.dfmk.hu
Sat Mar 25 00:45:38 CET 2017
Hi,
On Fri, 24 Mar 2017, Graeme Geldenhuys wrote:
> On 2017-03-24 18:55, Michael Van Canneyt wrote:
> > They are. There is one dereference on Delphi which is not present in fpc,
> > although in fpc trunk
>
> Another minor difference is data types. From what I remember (and as can
> be seen in tiOPF's code. eg: tiRTTI.pas) FPC has a few more data types
> than Delphi. eg: FPC had tkBool, whereas Delphi didn't. There were also
> some differences with string types like tkAString, tkUChar and such. Not
> a big difference though.
FPC also has tkQWord, among others. Just for the record, here's the FPC
version:
http://www.freepascal.org/docs-html/rtl/typinfo/ttypekinds.html
plus a few aliases:
http://www.freepascal.org/docs-html/rtl/typinfo/index-2.html
vs. Delphi version:
http://docwiki.embarcadero.com/Libraries/Seattle/en/System.TTypeKind
Charlie
More information about the fpc-pascal
mailing list