pub unsafe extern "C" fn pw_context_for_each_global(
    context: *mut pw_context,
    callback: Option<unsafe extern "C" fn(data: *mut c_void, global: *mut pw_global) -> c_int>,
    data: *mut c_void
) -> c_int
Expand description

Iterate the globals of the context. The callback should return 0 to fetch the next item, any other value stops the iteration and returns the value. When all callbacks return 0, this function returns 0 when all globals are iterated.