phytrace_builder_build_unchecked

Function phytrace_builder_build_unchecked 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn phytrace_builder_build_unchecked( builder: *mut PhyTraceBuilderHandle, ) -> *mut PhyTraceEventHandle
Expand description

Build the event without validation, consuming the builder.

This always succeeds and returns a handle. Useful for testing or when the caller knows the event is well-formed.

The returned event must be freed with phytrace_event_destroy() or consumed by phytrace_agent_send().