pub extern "C" fn midiOutCloseCallback(
        csound: *mut raw::CSOUND,
        _userData: *mut c_void,
    ) -> c_int {
        catch(|| unsafe {
            if let Some(fun) = (*(raw::csoundGetHostData(csound) as *mut CallbackHandler))
                .callbacks
                .midi_out_close_cb
                .as_mut()
            {
                fun();
            }
            CSOUND_STATUS::CSOUND_SUCCESS
        })
        .unwrap()
    }
// Sets callback for closing real time MIDI output.
Sets callback for closing real time MIDI output.
Sets callback for closing real time MIDI output .
pub extern "C" fn midiOutCloseCallback(
        csound: *mut raw::CSOUND,
        _userData: *mut c_void,
    ) -> c_int {
        catch(|| unsafe {
            if let Some(fun) = (*(raw::csoundGetHostData(csound) as *mut CallbackHandler))
                .callbacks
                .midi_out_close_cb
                .as_mut()
            {
                fun();
            }
            CSOUND_STATUS::CSOUND_SUCCESS
        })
        .unwrap()
    }
pub extern " " fn midiOutCloseCallback ( csound : * mut raw :: CSOUND , _userData : * mut c_void , ) -> c_int { catch ( | | unsafe { if let Some ( fun ) = ( * ( raw :: csoundGetHostData ( csound ) as * mut CallbackHandler ) ) . callbacks . midi_out_close_cb . as_mut ( ) { fun ( ) ; } CSOUND_STATUS :: CSOUND_SUCCESS } ) . unwrap ( ) }
Sets callback for closing real time MIDI output.
Sets callback for closing real time MIDI output .
csound
*mut raw::CSOUND
_userData
*mut c_void
csound
*mut raw::CSOUND
_userData
*mut c_void