Skip to content

CallPointerLocal

Call a local nested function with a pointer argument.

Declaration

Source position: objects.pp line 676

function CallPointerLocal(Func: TCallbackFunParam; Frame: Pointer; 
                         Param1: pointer) : pointer;

Description

CallPointerLocal calls the local procedure with address Func, where Frame is the frame of the wrapping function. 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.
CallVoidLocal Call a local nested procedure.
CallVoidMethodLocal Call a local procedure of a method.
CallPointerMethodLocal Call a local procedure of a method with a pointer argument.
CallVoidConstructor Call a constructor with no arguments.
CallPointerConstructor Call a constructor with a pointer argument.