Sign in Join
FPDoc Onlineexperiment

get_caller_addr function

In unit System

Return the address of the caller.

Declaration

pascal
function get_caller_addr(framebp: pointer; addr: CodePointer=Nil)
: CodePointer

Description

get_caller_frame returns a pointer to address ( the return address) of the caller of the routine which has as frame framebp.

See also

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