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
> 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
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?
__
> 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
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
> 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
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
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