#[unsafe(no_mangle)]pub unsafe extern "C" fn cai_plugin_destroy(ptr: *mut CaiPlugin)Expand description
Destroy a CAI plugin instance
ยงSafety
ptrmust be a valid pointer returned bycai_plugin_createor null- This function should only be called once per plugin instance
- The pointer becomes invalid after this call