[fpc-devel] RTTI question
florian at freepascal.org
Sat Jul 31 19:40:40 CEST 2010
Am 31.07.2010 02:06, schrieb Sergei Gorelkin:
> I have discovered that the pointer returned by typeinfo() builtin in FPC
> is very different from one returned in Delphi. What Delphi returns
> points to rough equivalent of FPC's INIT$_<typename> structure, so one
> may examine the structure to figure out the 'managed' fields. FPC,
> however, returns pointer to RTTI$_<typename> structure, which - for
> records and objects - doesn't seem to contain anything useful except the
> type name. At the same time there seems to be no way to access
> INIT$_<typename> information from code.
> Is this a subject for bugreport?
If you've a proposal how to solve this keeping backward and delphi
More information about the fpc-devel