소스 검색

Added type TInterfaceEntryType, EntryType field in TInterfaceEntry. Used in "implements"-implementation

git-svn-id: trunk@4354 -
chrivers 19 년 전
부모
커밋
3e1c0cc8a5
1개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. 8 4
      rtl/inc/objpash.inc

+ 8 - 4
rtl/inc/objpash.inc

@@ -107,12 +107,16 @@
                  );
        end;
 
+       // This enumerate is found both in the rtl and compiler. Do not change the order of the fields.
+       tinterfaceentrytype = (etStandard, etVirtualMethodResult, etStaticMethodResult, etFieldValue);
+
        pinterfaceentry = ^tinterfaceentry;
        tinterfaceentry = record
-         IID     : pguid; { if assigned(IID) then Com else Corba}
-         VTable  : Pointer;
-         IOffset : PtrInt;
-         IIDStr  : pshortstring; { never nil. Com: upper(GuidToString(IID^)) }
+         IID       : pguid; { if assigned(IID) then Com else Corba}
+         VTable    : Pointer;
+         IOffset   : PtrInt;
+         IIDStr    : pshortstring; { never nil. Com: upper(GuidToString(IID^)) }
+         EntryType : tinterfaceentrytype;
        end;
 
        pinterfacetable = ^tinterfacetable;