dispatch_function_t

Type Alias dispatch_function_t 

Source
pub type dispatch_function_t = extern "C" fn(*mut c_void);
Expand description

The prototype of functions submitted to dispatch queues.

This is deliberately extern "C", since libdispatch doesn’t support unwinding in handler functions, and this gives us better error messages if that does happen.