reaper-low 0.1.0

Bindings for the REAPER C++ API - low-level API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

use super::bindings::root::reaper_midi::*;
use super::bindings::root::{midi_Input, MIDI_event_t, MIDI_eventlist};

impl midi_Input {
    pub unsafe fn GetReadBuf(&self) -> *mut MIDI_eventlist {
        midi_Input_GetReadBuf(self as *const _ as *mut _)
    }
}

impl MIDI_eventlist {
    pub unsafe fn EnumItems(&self, bpos: *mut ::std::os::raw::c_int) -> *mut MIDI_event_t {
        MIDI_eventlist_EnumItems(self as *const _ as *mut _, bpos)
    }
}