Skip to content

CallPointerMethodLocal

Call a local procedure of a method with a pointer argument.

Declaration

Source position: objects.pp line 691

function CallPointerMethodLocal(Func: TCallbackFunParam; 
                               Frame: Pointer; Obj: pointer; 
                               Param1: pointer) : pointer;

Description

CallPointerMethodLocal calls the local procedure with address Func, where Frame is the frame of the wrapping method. It passes Param1 to the local function.

Errors

If the local function expects other parameters than a pointer, the stack may become corrupted.

See also

Name Description
CallPointerMethod Call a method with a single pointer argument.
CallVoidMethod Call an object method.
CallPointerLocal Call a local nested function with a pointer argument.
CallVoidLocal Call a local nested procedure.
CallVoidMethodLocal Call a local procedure of a method.
CallVoidConstructor Call a constructor with no arguments.
CallPointerConstructor Call a constructor with a pointer argument.