#[unsafe(no_mangle)]pub unsafe extern "C" fn aether_trace_stats(
handle: *mut AetherHandle,
stats_json: *mut *mut c_char,
) -> c_intExpand description
Get trace statistics as JSON
§Parameters
- handle: Aether engine handle
- stats_json: Output parameter (must be freed with aether_free_string)
§Returns
- 0 (Success) if stats were retrieved
- Non-zero error code if failed
§Safety
handlemust be a valid pointer to an AetherHandle created byaether_neworaether_new_with_permissionsstats_jsonmust be a valid pointer to a*mut c_charthat will be set to point to the result