Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Florian Klaempfl
Peter Vreman wrote: >>On Monday 13 June 2005 12.59, Peter Vreman wrote: >> - How is TTypeData.IntfUnit aligned? >>> >>>It doesn't need alignment. It consists only of chars. >> >>So offset IIDStr->IntfUnit is 256 (IIDStr = shortstring = string[255])? >>Or IntfUnit starts after last char of IIDS

Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Peter Vreman
> On Monday 13 June 2005 12.59, Peter Vreman wrote: >> > - How is TTypeData.IntfUnit aligned? >> >> It doesn't need alignment. It consists only of chars. > > So offset IIDStr->IntfUnit is 256 (IIDStr = shortstring = string[255])? > Or IntfUnit starts after last char of IIDStr? It is not yet define

Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Martin Schreiber
On Monday 13 June 2005 12.59, Peter Vreman wrote: > > - How is TTypeData.IntfUnit aligned? > > It doesn't need alignment. It consists only of chars. So offset IIDStr->IntfUnit is 256 (IIDStr = shortstring = string[255])? Or IntfUnit starts after last char of IIDStr? __

Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Peter Vreman
> To the compiler developers: > > In FPC 2.0.0 > - Are the fields TTypeData.IntfParent, IID, IIDStr and IntfUnit valid for > tkInterface? Looking at the compiler sources: tkInterface is written the same as tkClass. > - Is TTypeData.IntfParent really PPTypeInfo or is it PTypeInfo? I guess it'll t

[fpc-devel] RTTI for interface (2)

2005-06-13 Thread Martin Schreiber
To the compiler developers: In FPC 2.0.0 - Are the fields TTypeData.IntfParent, IID, IIDStr and IntfUnit valid for tkInterface? - Is TTypeData.IntfParent really PPTypeInfo or is it PTypeInfo? - How is TTypeData.IntfUnit aligned? Thanks, Martin ___ fpc

Re: [fpc-devel] RTTI for interface

2005-06-11 Thread Martin Schreiber
> Yes and no ;) Can you give an example which causes problems? If i read the source right, the valid fields in RTTI for tkInterface are TTypeInfo.Kind and Name. TTypeData.IntfParent, IID, IIDStr and IntfUnit are invalid, Correct? ___ fpc-devel maillis

Re: [fpc-devel] RTTI for interface

2005-06-10 Thread Florian Klaempfl
Martin Schreiber wrote: > I have problems with RTTI for tkInterface. > Should it work in FPC 2.0.0? Yes and no ;) Can you give an example which causes problems? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailm

[fpc-devel] RTTI for interface

2005-06-10 Thread Martin Schreiber
I have problems with RTTI for tkInterface. Should it work in FPC 2.0.0? Martin ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel