amunits: added DoSuperMethod into intuition, this matches other platforms

git-svn-id: trunk@42760 -
This commit is contained in:
Károly Balogh 2019-08-22 09:04:33 +00:00
parent a1e66699d7
commit a7fb5c2c2f

View File

@ -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