소스 검색

amunits: added DoSuperMethod into intuition, this matches other platforms

git-svn-id: trunk@42760 -
Károly Balogh 6 년 전
부모
커밋
a7fb5c2c2f
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      packages/amunits/src/coreunits/intuition.pas

+ 6 - 0
packages/amunits/src/coreunits/intuition.pas

@@ -4233,6 +4233,7 @@ function CoerceMethodA(Cl: PIClass; Obj: PObject_; Msg: APTR): PtrUInt;
 function SetSuperAttrsA(Cl: PIClass; Obj: PObject_; Msg : APTR): PtrUInt;
 
 function DoMethod(Obj: PObject_; Params: array of PtrUInt): LongWord; inline;
+function DoSuperMethod(Cl: PIClass; Obj: PObject_; const Params: array of PtrUInt): PtrUInt; inline;
 
 IMPLEMENTATION
 
@@ -4444,6 +4445,11 @@ begin
     DoSuperMethodA := 0;
 end;
 
+function DoSuperMethod(Cl: PIClass; Obj: PObject_; const Params: array of PtrUInt): PTrUInt;
+begin
+  DoSuperMethod := DoSuperMethodA(Cl, Obj, @Params);
+end;
+
 function CoerceMethodA(Cl: PIClass; Obj: PObject_; Msg: APTR): PtrUInt;
 begin
   if Assigned(Cl) and Assigned(Obj) then