Przeglądaj źródła

* fixes TInterfaceRawData to match TTypeData

git-svn-id: trunk@42486 -
florian 6 lat temu
rodzic
commit
73acb4d1c1
1 zmienionych plików z 19 dodań i 19 usunięć
  1. 19 19
      rtl/objpas/typinfo.pp

+ 19 - 19
rtl/objpas/typinfo.pp

@@ -546,26 +546,26 @@ unit TypInfo;
         property PropertyTable: PPropData read GetPropertyTable;
         property PropertyTable: PPropData read GetPropertyTable;
         property MethodTable: PIntfMethodTable read GetMethodTable;
         property MethodTable: PIntfMethodTable read GetMethodTable;
       public
       public
-      case TTypeKind of
-        tkInterface: (
-        {$ifdef PROVIDE_ATTR_TABLE}
-          AttributeTable : PAttributeTable;
-        {$endif}
-          Parent: PPTypeInfo;
-          Flags : TIntfFlagsBase;
-          IID: TGUID;
-          UnitNameField: ShortString;
-          { IIDStr: ShortString; }
-          { PropertyTable: TPropData }
-        );
-        { include for proper alignment }
-        tkInt64: (
-          dummy : Int64
-        );
+      {$ifdef PROVIDE_ATTR_TABLE}
+        AttributeTable : PAttributeTable;
+      {$endif}
+        case TTypeKind of
+          tkInterface: (
+            Parent: PPTypeInfo;
+            Flags : TIntfFlagsBase;
+            IID: TGUID;
+            UnitNameField: ShortString;
+            { IIDStr: ShortString; }
+            { PropertyTable: TPropData }
+          );
+          { include for proper alignment }
+          tkInt64: (
+            dummy : Int64
+          );
 {$ifndef FPUNONE}
 {$ifndef FPUNONE}
-        tkFloat:
-          (FloatType : TFloatType
-        );
+          tkFloat:
+            (FloatType : TFloatType
+          );
 {$endif}
 {$endif}
       end;
       end;