mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 08:30:54 +02:00
amunits: added DoSuperMethod into intuition, this matches other platforms
git-svn-id: trunk@42760 -
This commit is contained in:
parent
a1e66699d7
commit
a7fb5c2c2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user