Struct
GLibSourceCallbackFuncs
Description [src]
structGSourceCallbackFuncs{
void(*ref)(
gpointercb_data
);;
void(*unref)(
gpointercb_data
);;
void(*get)(
gpointercb_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.