[][src]Function lv2rs_core::cleanup

pub unsafe fn cleanup<P: Plugin>(instance: Handle)

Helper function for the cleanup plugin call.

This function takes the raw parameters provided by the C API, turns them into safe Rust data types, and calls the trait's function. Only functions generated by the lv2_main should call this function, any other must not.