Function rust_hawktracer::ht_find_or_create_listener[][src]

pub unsafe extern "C" fn ht_find_or_create_listener(
    name: *const c_char
) -> *mut HT_TimelineListenerContainer

Finds an container in a global registry or create one if container doesn't exist.

If @a name is NULL, this method always returns new container.

@param name a name of the container to find/create.

@return a pointer to a container.