Skip to content

CallVoidMethodLocal

Call a local procedure of a method.

Declaration

Source position: objects.pp line 690

function CallVoidMethodLocal(Func: TCallbackFun; Frame: Pointer; 
                            Obj: pointer) : pointer;

Description

CallVoidMethodLocal calls the local procedure with address Func, where Frame is the frame of the wrapping method.

Errors

If the local function expects parameters, 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.
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.