Sign in Join
FPDoc Onlineexperiment

CallPointerLocal function

In unit Objects

Call a local nested function with a pointer argument.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.