#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_event_publisher_free(
publisher: *mut PamojaEventPublisher,
)Expand description
Releases a publisher.
The bus stays open for the endpoints still on it.
Passing null is a no-op.
ยงSafety
publisher must be a handle from pamoja_event_publisher_new,
pamoja_event_publisher_clone, or pamoja_event_bus_publisher that has not
already been freed, or null. After this call it must not be used again.