Struct

GLibSourceCallbackFuncs

Description [src]

struct GSourceCallbackFuncs {
  void (* ref) (
    gpointer cb_data
  );
  void (* unref) (
    gpointer cb_data
  );
  void (* get) (
    gpointer cb_data,
    GSource* source,
    GSourceFunc* func,
    gpointer* data
  );
}

The GSourceCallbackFuncs struct contains functions for managing callback objects.

Structure members
ref

Called when a reference is added to the callback object.

unref

Called when a reference to the callback object is dropped.

get

Called to extract the callback function and data from the callback object.