mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 16:49:20 +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 CoerceMethodA(cl : pIClass; obj : pObject_; msg : APTR): ulong;
|
||||||
function SetSuperAttrsA(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;
|
procedure HookEntry;
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -369,6 +371,11 @@ begin
|
|||||||
end else DoMethodA := 0;
|
end else DoMethodA := 0;
|
||||||
end;
|
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;
|
function DoSuperMethodA(cl : pIClass; obj : pObject_; msg : APTR): ulong;
|
||||||
begin
|
begin
|
||||||
if assigned(obj) and assigned(cl) then
|
if assigned(obj) and assigned(cl) then
|
||||||
|
Loading…
Reference in New Issue
Block a user