view_dispatcher_alloc_ex

Function view_dispatcher_alloc_ex 

Source
pub unsafe extern "C" fn view_dispatcher_alloc_ex(
    loop_: *mut FuriEventLoop,
) -> *mut ViewDispatcher
Expand description

Allocate ViewDispatcher instance with an externally owned event loop. If this constructor is used instead of view_dispatcher_alloc, the burden of freeing the event loop is placed on the caller.

§Arguments

  • loop - pointer to FuriEventLoop instance

§Returns

pointer to ViewDispatcher instance