Skip to main content

free_string

Function free_string 

Source
pub extern "C" fn free_string(value: StbString)
Expand description

ABI deallocation callback for strings produced by this SDK instance.

Install this as FreeStringFn in the plugin’s registrars. The ABI caller must pass ownership of a live StbString::from_* boxed-slice allocation exactly once. Never use it for a borrowed input or another producer’s string.