Function reaper_low::delete_cpp_pcm_source
source · [−]pub unsafe fn delete_cpp_pcm_source(source: NonNull<PCM_source>)Expand description
Destroys a C++ PCM_source object.
Intended to be used on pointers returned from create_cpp_to_rust_pcm_source().
Safety
REAPER can crash if you pass an invalid pointer because C++ will attempt to free the wrong location in memory.