Designer: Make TFieldInfo record match with its counterpart in typinfo. Noticed by Alfred Glänzer.

git-svn-id: trunk@52058 -
This commit is contained in:
juha 2016-03-25 23:29:46 +00:00
parent 03648e9dcf
commit 24a234e4ba

View File

@ -366,7 +366,7 @@ const
vmtInstanceSizeNeg = vmtInstanceSize+sizeof(ptrint); vmtInstanceSizeNeg = vmtInstanceSize+sizeof(ptrint);
type type
// these definitions are copied from objpas.inc // these definitions are copied from typinfo.pp
TMethodNameRec = packed record TMethodNameRec = packed record
Name : PShortString; Name : PShortString;
@ -396,7 +396,7 @@ type
packed packed
{$endif FPC_REQUIRES_PROPER_ALIGNMENT} {$endif FPC_REQUIRES_PROPER_ALIGNMENT}
record record
FieldOffset: LongWord; FieldOffset: PtrUInt;
ClassTypeIndex: Word; ClassTypeIndex: Word;
Name: ShortString; Name: ShortString;
end; end;