[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

CallPointerLocal

Call a local nested function with a pointer argument

Declaration

Source position: objects.pp line 607

function CallPointerLocal(

  Func: codepointer;

  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

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.


Documentation generated on: Jun 23 2021