pub unsafe fn delete_cpp_control_surface(
    surface: NonNull<IReaperControlSurface>
)
Expand description

Destroys a C++ IReaperControlSurface object.

Intended to be used on pointers returned from create_cpp_to_rust_control_surface().

Safety

REAPER can crash if you pass an invalid pointer because C++ will attempt to free the wrong location in memory.