setCallbackIndirect

fun setCallbackIndirect(callbackData: <Error class: unknown class>? = null, callbackFuncs: SourceCallbackFuncs)

Sets the callback function storing the data as a refcounted callback "object". This is used internally. Note that calling method@GLib.Source.set_callback_indirect assumes an initial reference count on @callback_data, and thus

Parameters

callbackData

pointer to callback data "object"

callbackFuncs

functions for reference counting @callback_data and getting the callback and data