mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
Amiga: Added DoMethod varargs version
git-svn-id: trunk@32698 -
This commit is contained in:
parent
55a38bf895
commit
fe87417345
@ -100,6 +100,8 @@ function DoSuperMethodA(cl : pIClass; obj : pObject_; msg : APTR): ulong;
|
||||
function CoerceMethodA(cl : pIClass; obj : pObject_; msg : APTR): ulong;
|
||||
function SetSuperAttrsA(cl : pIClass; obj: pObject_; msg : APTR): ulong;
|
||||
|
||||
function DoMethod(obj: PObject_; Params: array of DWord): LongWord; inline;
|
||||
|
||||
procedure HookEntry;
|
||||
|
||||
{
|
||||
@ -369,6 +371,11 @@ begin
|
||||
end else DoMethodA := 0;
|
||||
end;
|
||||
|
||||
function DoMethod(obj: PObject_; Params: array of DWord): LongWord;
|
||||
begin
|
||||
DoMethod := DoMethodA(obj, @Params);
|
||||
end;
|
||||
|
||||
function DoSuperMethodA(cl : pIClass; obj : pObject_; msg : APTR): ulong;
|
||||
begin
|
||||
if assigned(obj) and assigned(cl) then
|
||||
|
Loading…
Reference in New Issue
Block a user