[][src]Function browser_window_c::cbw_Application_dispatch

pub unsafe extern "C" fn cbw_Application_dispatch(
    app: *mut cbw_Application,
    func: cbw_ApplicationDispatchFn,
    data: *mut c_void
) -> cBOOL

Dispatches the given function to be executed on the thread this application instance has been created on, and passes the given data to it. This function is thread safe.

Returns

An indication of whether or not the function was able to be dispatched. Dispatching a function fails when the application has already been terminated.