### Struct

# GLib SourceCallbackFuncs

#### 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:` `void (* ref) ( gpointer cb_data )`

  Called when a reference is added to the callback object.

`unref:` `void (* unref) ( gpointer cb_data )`

  Called when a reference to the callback object is dropped.

`get:` `void (* get) ( gpointer cb_data, GSource* source, GSourceFunc* func, gpointer* data )`

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