Sign in Join
FPDoc Onlineexperiment

CallPointerMethodLocal function

In unit Objects

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

Declaration

pascal
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

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