mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 02:30:48 +02:00
* also implement TRttiType's GetBaseType in TRttiInterfaceType
git-svn-id: trunk@37705 -
This commit is contained in:
parent
1cb4514526
commit
b1029a218a
@ -278,6 +278,7 @@ type
|
||||
|
||||
TRttiInterfaceType = class(TRttiType)
|
||||
protected
|
||||
function GetBaseType: TRttiType; override;
|
||||
function GetIntfBaseType: TRttiInterfaceType; virtual; abstract;
|
||||
function GetDeclaringUnitName: String; virtual; abstract;
|
||||
function GetGUID: TGUID; virtual; abstract;
|
||||
@ -1751,6 +1752,11 @@ end;
|
||||
|
||||
{ TRttiInterfaceType }
|
||||
|
||||
function TRttiInterfaceType.GetBaseType: TRttiType;
|
||||
begin
|
||||
Result := GetIntfBaseType;
|
||||
end;
|
||||
|
||||
function TRttiInterfaceType.GetGUIDStr: String;
|
||||
begin
|
||||
Result := GUIDToString(GUID);
|
||||
|
Loading…
Reference in New Issue
Block a user