Function nemo_relay_codec_free

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_codec_free(
    handle: *mut FfiCodecHandle,
)

Free a codec handle previously returned by one of the codec constructor functions (nemo_relay_openai_chat_codec_new, etc.).

Safety

handle must be a valid pointer returned by one of the codec constructor functions, or null. Double-free is undefined behavior.