Function
GumEventSinkmake_from_callback
Declaration [src]
GumEventSink*
gum_event_sink_make_from_callback (
GumEventType mask,
GumEventSinkCallback callback,
gpointer data,
GDestroyNotify data_destroy
)
Parameters
mask-
Type:
GumEventTypeBitfield specifying event types that are of interest.
callback-
Type:
GumEventSinkCallbackFunction called with each event.
data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the function. data_destroy-
Type:
GDestroyNotifyFunction to destroy
data.
Return value
Type: GumEventSink
A newly created GumEventSink.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |