Function

Gummake_call_listener

Declaration [src]

GumInvocationListener*
gum_make_call_listener (
  GumInvocationCallback on_enter,
  GumInvocationCallback on_leave,
  gpointer data,
  GDestroyNotify data_destroy
)

Description [src]

Creates a new call listener.

Parameters

on_enter

Type: GumInvocationCallback

Callback for function entry.

The argument can be NULL.
on_leave

Type: GumInvocationCallback

Callback for function exit.

The argument can be NULL.
data

Type: gpointer

Data to pass to the callbacks.

The argument can be NULL.
The data is owned by the caller of the function.
data_destroy

Type: GDestroyNotify

Function to destroy data.

Return value

Type: GumInvocationListener

The newly created listener.

The caller of the function takes ownership of the data, and is responsible for freeing it.