Constructor

GumModuleMapnew_filtered

Declaration [src]

GumModuleMap*
gum_module_map_new_filtered (
  GumModuleMapFilterFunc func,
  gpointer data,
  GDestroyNotify data_destroy
)

Description [src]

Creates a module map containing only the modules for which func returns TRUE.

Parameters

func

Type: GumModuleMapFilterFunc

Filter deciding which modules to include.

data

Type: gpointer

Data to pass to func.

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

Type: GDestroyNotify

Destroy notify for data.

The argument can be NULL.

Return value

Type: GumModuleMap

A new GumModuleMap.

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