1#![allow(non_upper_case_globals)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6#![allow(dead_code)]
7
8#[allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]
9pub mod root {
10 #[allow(unused_imports)]
11 use self::super::root;
12 pub const VK_LBUTTON: u32 = 1;
13 pub const VK_RBUTTON: u32 = 2;
14 pub const VK_MBUTTON: u32 = 4;
15 pub const VK_BACK: u32 = 8;
16 pub const VK_TAB: u32 = 9;
17 pub const VK_CLEAR: u32 = 12;
18 pub const VK_RETURN: u32 = 13;
19 pub const VK_SHIFT: u32 = 16;
20 pub const VK_CONTROL: u32 = 17;
21 pub const VK_MENU: u32 = 18;
22 pub const VK_PAUSE: u32 = 19;
23 pub const VK_CAPITAL: u32 = 20;
24 pub const VK_ESCAPE: u32 = 27;
25 pub const VK_SPACE: u32 = 32;
26 pub const VK_PRIOR: u32 = 33;
27 pub const VK_NEXT: u32 = 34;
28 pub const VK_END: u32 = 35;
29 pub const VK_HOME: u32 = 36;
30 pub const VK_LEFT: u32 = 37;
31 pub const VK_UP: u32 = 38;
32 pub const VK_RIGHT: u32 = 39;
33 pub const VK_DOWN: u32 = 40;
34 pub const VK_SELECT: u32 = 41;
35 pub const VK_PRINT: u32 = 42;
36 pub const VK_SNAPSHOT: u32 = 44;
37 pub const VK_INSERT: u32 = 45;
38 pub const VK_DELETE: u32 = 46;
39 pub const VK_HELP: u32 = 47;
40 pub const VK_LWIN: u32 = 91;
41 pub const VK_NUMPAD0: u32 = 96;
42 pub const VK_NUMPAD1: u32 = 97;
43 pub const VK_NUMPAD2: u32 = 98;
44 pub const VK_NUMPAD3: u32 = 99;
45 pub const VK_NUMPAD4: u32 = 100;
46 pub const VK_NUMPAD5: u32 = 101;
47 pub const VK_NUMPAD6: u32 = 102;
48 pub const VK_NUMPAD7: u32 = 103;
49 pub const VK_NUMPAD8: u32 = 104;
50 pub const VK_NUMPAD9: u32 = 105;
51 pub const VK_MULTIPLY: u32 = 106;
52 pub const VK_ADD: u32 = 107;
53 pub const VK_SEPARATOR: u32 = 108;
54 pub const VK_SUBTRACT: u32 = 109;
55 pub const VK_DECIMAL: u32 = 110;
56 pub const VK_DIVIDE: u32 = 111;
57 pub const VK_F1: u32 = 112;
58 pub const VK_F2: u32 = 113;
59 pub const VK_F3: u32 = 114;
60 pub const VK_F4: u32 = 115;
61 pub const VK_F5: u32 = 116;
62 pub const VK_F6: u32 = 117;
63 pub const VK_F7: u32 = 118;
64 pub const VK_F8: u32 = 119;
65 pub const VK_F9: u32 = 120;
66 pub const VK_F10: u32 = 121;
67 pub const VK_F11: u32 = 122;
68 pub const VK_F12: u32 = 123;
69 pub const VK_F13: u32 = 124;
70 pub const VK_F14: u32 = 125;
71 pub const VK_F15: u32 = 126;
72 pub const VK_F16: u32 = 127;
73 pub const VK_F17: u32 = 128;
74 pub const VK_F18: u32 = 129;
75 pub const VK_F19: u32 = 130;
76 pub const VK_F20: u32 = 131;
77 pub const VK_F21: u32 = 132;
78 pub const VK_F22: u32 = 133;
79 pub const VK_F23: u32 = 134;
80 pub const VK_F24: u32 = 135;
81 pub const VK_NUMLOCK: u32 = 144;
82 pub const VK_SCROLL: u32 = 145;
83 pub const REAPER_PLUGIN_VERSION: u32 = 526;
84 pub const CSURF_EXT_RESET: u32 = 131071;
85 pub const CSURF_EXT_SETINPUTMONITOR: u32 = 65537;
86 pub const CSURF_EXT_SETMETRONOME: u32 = 65538;
87 pub const CSURF_EXT_SETAUTORECARM: u32 = 65539;
88 pub const CSURF_EXT_SETRECMODE: u32 = 65540;
89 pub const CSURF_EXT_SETSENDVOLUME: u32 = 65541;
90 pub const CSURF_EXT_SETSENDPAN: u32 = 65542;
91 pub const CSURF_EXT_SETFXENABLED: u32 = 65543;
92 pub const CSURF_EXT_SETFXPARAM: u32 = 65544;
93 pub const CSURF_EXT_SETLASTTOUCHEDFX: u32 = 65546;
94 pub const CSURF_EXT_SETFOCUSEDFX: u32 = 65547;
95 pub const CSURF_EXT_SETLASTTOUCHEDTRACK: u32 = 65548;
96 pub const CSURF_EXT_SETMIXERSCROLL: u32 = 65549;
97 pub const CSURF_EXT_SETBPMANDPLAYRATE: u32 = 65545;
98 pub const CSURF_EXT_SETPAN_EX: u32 = 65550;
99 pub const CSURF_EXT_SETRECVVOLUME: u32 = 65552;
100 pub const CSURF_EXT_SETRECVPAN: u32 = 65553;
101 pub const CSURF_EXT_SETFXOPEN: u32 = 65554;
102 pub const CSURF_EXT_SETFXCHANGE: u32 = 65555;
103 pub const CSURF_EXT_SETPROJECTMARKERCHANGE: u32 = 65556;
104 pub const CSURF_EXT_SETFXPARAM_RECFX: u32 = 65560;
105 pub const CSURF_EXT_SUPPORTS_EXTENDED_TOUCH: u32 = 524289;
106 pub const UNDO_STATE_ALL: u32 = 4294967295;
107 pub const UNDO_STATE_TRACKCFG: u32 = 1;
108 pub const UNDO_STATE_FX: u32 = 2;
109 pub const UNDO_STATE_ITEMS: u32 = 4;
110 pub const UNDO_STATE_MISCCFG: u32 = 8;
111 pub const UNDO_STATE_FREEZE: u32 = 16;
112 pub type ReaSample = f64;
113 pub type __intptr_t = ::std::os::raw::c_long;
114 #[repr(C)]
115 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
116 pub struct __pthread_internal_list {
117 pub __prev: *mut root::__pthread_internal_list,
118 pub __next: *mut root::__pthread_internal_list,
119 }
120 pub type __pthread_list_t = root::__pthread_internal_list;
121 #[repr(C)]
122 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
123 pub struct __pthread_mutex_s {
124 pub __lock: ::std::os::raw::c_int,
125 pub __count: ::std::os::raw::c_uint,
126 pub __owner: ::std::os::raw::c_int,
127 pub __nusers: ::std::os::raw::c_uint,
128 pub __kind: ::std::os::raw::c_int,
129 pub __spins: ::std::os::raw::c_short,
130 pub __elision: ::std::os::raw::c_short,
131 pub __list: root::__pthread_list_t,
132 }
133 #[repr(C)]
134 #[derive(Copy, Clone)]
135 pub union pthread_mutex_t {
136 pub __data: root::__pthread_mutex_s,
137 pub __size: [::std::os::raw::c_char; 40usize],
138 pub __align: ::std::os::raw::c_long,
139 _bindgen_union_align: [u64; 5usize],
140 }
141 pub mod std {
142 #[allow(unused_imports)]
143 use self::super::super::root;
144 }
145 pub mod __gnu_cxx {
146 #[allow(unused_imports)]
147 use self::super::super::root;
148 }
149 pub type INT_PTR = isize;
150 pub type LONG_PTR = isize;
151 pub type ULONG_PTR = usize;
152 pub type DWORD = ::std::os::raw::c_uint;
153 pub type UINT = ::std::os::raw::c_uint;
154 pub type WPARAM = root::ULONG_PTR;
155 pub type LPARAM = root::LONG_PTR;
156 pub type LRESULT = root::LONG_PTR;
157 pub type LONG = ::std::os::raw::c_int;
158 #[repr(C)]
159 #[derive(Debug, Copy, Clone)]
160 pub struct HWND__ {
161 _unused: [u8; 0],
162 }
163 pub type HWND = *mut root::HWND__;
164 #[repr(C)]
165 #[derive(Debug, Copy, Clone)]
166 pub struct HMENU__ {
167 _unused: [u8; 0],
168 }
169 pub type HMENU = *mut root::HMENU__;
170 pub type HINSTANCE = *mut ::std::os::raw::c_void;
171 #[repr(C)]
172 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
173 pub struct POINT {
174 pub x: root::LONG,
175 pub y: root::LONG,
176 }
177 #[repr(C)]
178 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
179 pub struct RECT {
180 pub left: root::LONG,
181 pub top: root::LONG,
182 pub right: root::LONG,
183 pub bottom: root::LONG,
184 }
185 #[repr(C)]
186 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
187 pub struct ACCEL {
188 pub fVirt: ::std::os::raw::c_uchar,
189 pub key: ::std::os::raw::c_ushort,
190 pub cmd: ::std::os::raw::c_ushort,
191 }
192 #[repr(C)]
193 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
194 pub struct _GUID {
195 pub Data1: ::std::os::raw::c_uint,
196 pub Data2: ::std::os::raw::c_ushort,
197 pub Data3: ::std::os::raw::c_ushort,
198 pub Data4: [::std::os::raw::c_uchar; 8usize],
199 }
200 pub type GUID = root::_GUID;
201 #[repr(C)]
202 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
203 pub struct MSG {
204 pub hwnd: root::HWND,
205 pub message: root::UINT,
206 pub wParam: root::WPARAM,
207 pub lParam: root::LPARAM,
208 pub time: root::DWORD,
209 pub pt: root::POINT,
210 }
211 #[repr(C)]
212 #[derive(Debug, Copy, Clone)]
213 pub struct HDC__ {
214 _unused: [u8; 0],
215 }
216 pub type HDC = *mut root::HDC__;
217 #[repr(C)]
218 #[derive(Debug, Copy, Clone)]
219 pub struct HGDIOBJ__ {
220 _unused: [u8; 0],
221 }
222 pub type HFONT = *mut root::HGDIOBJ__;
223 #[repr(C)]
224 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
225 pub struct reaper_plugin_info_t {
226 pub caller_version: ::std::os::raw::c_int,
227 pub hwnd_main: root::HWND,
228 pub Register: ::std::option::Option<
229 unsafe extern "C" fn(
230 name: *const ::std::os::raw::c_char,
231 infostruct: *mut ::std::os::raw::c_void,
232 ) -> ::std::os::raw::c_int,
233 >,
234 pub GetFunc: ::std::option::Option<
235 unsafe extern "C" fn(
236 name: *const ::std::os::raw::c_char,
237 ) -> *mut ::std::os::raw::c_void,
238 >,
239 }
240 #[repr(C)]
241 pub struct ProjectStateContext__bindgen_vtable(::std::os::raw::c_void);
242 #[repr(C)]
243 #[derive(Debug, Hash, PartialEq, Eq)]
244 pub struct ProjectStateContext {
245 pub vtable_: *const ProjectStateContext__bindgen_vtable,
246 }
247 #[doc = " MIDI event definition and abstract list"]
248 #[repr(C)]
249 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
250 pub struct MIDI_event_t {
251 pub frame_offset: ::std::os::raw::c_int,
252 pub size: ::std::os::raw::c_int,
253 pub midi_message: [::std::os::raw::c_uchar; 4usize],
254 }
255 #[repr(C)]
256 pub struct MIDI_eventlist__bindgen_vtable(::std::os::raw::c_void);
257 #[repr(C)]
258 #[derive(Debug, Hash, PartialEq, Eq)]
259 pub struct MIDI_eventlist {
260 pub vtable_: *const MIDI_eventlist__bindgen_vtable,
261 }
262 #[doc = " PCM source API"]
263 #[repr(C)]
264 #[derive(Debug, Copy, Clone, PartialEq)]
265 pub struct PCM_source_transfer_t {
266 pub time_s: f64,
267 pub samplerate: f64,
268 pub nch: ::std::os::raw::c_int,
269 pub length: ::std::os::raw::c_int,
270 pub samples: *mut root::ReaSample,
271 pub samples_out: ::std::os::raw::c_int,
272 pub midi_events: *mut root::MIDI_eventlist,
273 pub approximate_playback_latency: f64,
274 pub absolute_time_s: f64,
275 pub force_bpm: f64,
276 }
277 #[repr(C)]
278 #[derive(Debug, Copy, Clone, PartialEq)]
279 pub struct PCM_source_peaktransfer_t {
280 pub start_time: f64,
281 pub peakrate: f64,
282 pub numpeak_points: ::std::os::raw::c_int,
283 pub nchpeaks: ::std::os::raw::c_int,
284 pub peaks: *mut root::ReaSample,
285 pub peaks_out: ::std::os::raw::c_int,
286 pub output_mode: ::std::os::raw::c_int,
287 pub absolute_time_s: f64,
288 pub peaks_minvals: *mut root::ReaSample,
289 pub peaks_minvals_used: ::std::os::raw::c_int,
290 pub samplerate: f64,
291 pub exp: [*mut ::std::os::raw::c_int; 30usize],
292 }
293 pub const PCM_source_peaktransfer_t_PEAKTRANSFER_PEAKS_MODE:
294 root::PCM_source_peaktransfer_t__bindgen_ty_1 = 0;
295 pub const PCM_source_peaktransfer_t_PEAKTRANSFER_WAVEFORM_MODE:
296 root::PCM_source_peaktransfer_t__bindgen_ty_1 = 1;
297 pub const PCM_source_peaktransfer_t_PEAKTRANSFER_MIDI_NOTE_MODE:
298 root::PCM_source_peaktransfer_t__bindgen_ty_1 = 2;
299 pub const PCM_source_peaktransfer_t_PEAKTRANSFER_MIDI_DRUM_MODE:
300 root::PCM_source_peaktransfer_t__bindgen_ty_1 = 3;
301 pub const PCM_source_peaktransfer_t_PEAKTRANSFER_MIDI_DRUM_TRIANGLE_MODE:
302 root::PCM_source_peaktransfer_t__bindgen_ty_1 = 4;
303 pub type PCM_source_peaktransfer_t__bindgen_ty_1 = u32;
304 #[repr(C)]
305 pub struct PCM_source__bindgen_vtable(::std::os::raw::c_void);
306 #[repr(C)]
307 #[derive(Debug, Hash, PartialEq, Eq)]
308 pub struct PCM_source {
309 pub vtable_: *const PCM_source__bindgen_vtable,
310 }
311 #[repr(C)]
312 pub struct ISimpleMediaDecoder__bindgen_vtable(::std::os::raw::c_void);
313 #[repr(C)]
314 #[derive(Debug, Hash, PartialEq, Eq)]
315 pub struct ISimpleMediaDecoder {
316 pub vtable_: *const ISimpleMediaDecoder__bindgen_vtable,
317 }
318 #[repr(C)]
319 pub struct PCM_sink__bindgen_vtable(::std::os::raw::c_void);
320 #[repr(C)]
321 #[derive(Debug, PartialEq)]
322 pub struct PCM_sink {
323 pub vtable_: *const PCM_sink__bindgen_vtable,
324 pub m_st: f64,
325 }
326 #[repr(C)]
327 pub struct REAPER_Resample_Interface__bindgen_vtable(::std::os::raw::c_void);
328 #[doc = " Resampler API (plug-ins can use this for SRC)"]
329 #[doc = ""]
330 #[doc = ""]
331 #[doc = " See API functions Resampler_Create() and Resample_EnumModes()"]
332 #[repr(C)]
333 #[derive(Debug, Hash, PartialEq, Eq)]
334 pub struct REAPER_Resample_Interface {
335 pub vtable_: *const REAPER_Resample_Interface__bindgen_vtable,
336 }
337 #[repr(C)]
338 pub struct IReaperPitchShift__bindgen_vtable(::std::os::raw::c_void);
339 #[repr(C)]
340 #[derive(Debug, Hash, PartialEq, Eq)]
341 pub struct IReaperPitchShift {
342 pub vtable_: *const IReaperPitchShift__bindgen_vtable,
343 }
344 #[repr(C)]
345 pub struct REAPER_PeakGet_Interface__bindgen_vtable(::std::os::raw::c_void);
346 #[doc = " Peak getting/building API"]
347 #[doc = ""]
348 #[doc = " These are really only needed if you implement a PCM_source or PCM_sink."]
349 #[doc = ""]
350 #[doc = " See functions PeakGet_Create(), PeakBuild_Create(), GetPeakFileName(), ClearPeakCache()"]
351 #[repr(C)]
352 #[derive(Debug, Hash, PartialEq, Eq)]
353 pub struct REAPER_PeakGet_Interface {
354 pub vtable_: *const REAPER_PeakGet_Interface__bindgen_vtable,
355 }
356 #[repr(C)]
357 pub struct REAPER_PeakBuild_Interface__bindgen_vtable(::std::os::raw::c_void);
358 #[repr(C)]
359 #[derive(Debug, Hash, PartialEq, Eq)]
360 pub struct REAPER_PeakBuild_Interface {
361 pub vtable_: *const REAPER_PeakBuild_Interface__bindgen_vtable,
362 }
363 #[repr(C)]
364 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
365 pub struct gaccel_register_t {
366 pub accel: root::ACCEL,
367 pub desc: *const ::std::os::raw::c_char,
368 }
369 #[repr(C)]
370 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
371 pub struct audio_hook_register_t {
372 pub OnAudioBuffer: ::std::option::Option<
373 unsafe extern "C" fn(
374 isPost: bool,
375 len: ::std::os::raw::c_int,
376 srate: f64,
377 reg: *mut root::audio_hook_register_t,
378 ),
379 >,
380 pub userdata1: *mut ::std::os::raw::c_void,
381 pub userdata2: *mut ::std::os::raw::c_void,
382 pub input_nch: ::std::os::raw::c_int,
383 pub output_nch: ::std::os::raw::c_int,
384 pub GetBuffer: ::std::option::Option<
385 unsafe extern "C" fn(
386 isOutput: bool,
387 idx: ::std::os::raw::c_int,
388 ) -> *mut root::ReaSample,
389 >,
390 }
391 #[repr(C)]
392 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
393 pub struct KbdCmd {
394 pub cmd: root::DWORD,
395 pub text: *const ::std::os::raw::c_char,
396 }
397 #[repr(C)]
398 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
399 pub struct KbdKeyBindingInfo {
400 pub key: ::std::os::raw::c_int,
401 pub cmd: ::std::os::raw::c_int,
402 pub flags: ::std::os::raw::c_int,
403 }
404 #[repr(C)]
405 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
406 pub struct KbdSectionInfo {
407 pub uniqueID: ::std::os::raw::c_int,
408 pub name: *const ::std::os::raw::c_char,
409 pub action_list: *mut root::KbdCmd,
410 pub action_list_cnt: ::std::os::raw::c_int,
411 pub def_keys: *mut root::KbdKeyBindingInfo,
412 pub def_keys_cnt: ::std::os::raw::c_int,
413 pub onAction: ::std::option::Option<
414 unsafe extern "C" fn(
415 cmd: ::std::os::raw::c_int,
416 val: ::std::os::raw::c_int,
417 valhw: ::std::os::raw::c_int,
418 relmode: ::std::os::raw::c_int,
419 hwnd: root::HWND,
420 ) -> bool,
421 >,
422 pub accels: *mut ::std::os::raw::c_void,
423 pub recent_cmds: *mut ::std::os::raw::c_void,
424 pub extended_data: [*mut ::std::os::raw::c_void; 32usize],
425 }
426 #[repr(C)]
427 #[derive(Copy, Clone)]
428 pub struct preview_register_t {
429 pub mutex: root::pthread_mutex_t,
430 pub src: *mut root::PCM_source,
431 pub m_out_chan: ::std::os::raw::c_int,
432 pub curpos: f64,
433 pub loop_: bool,
434 pub volume: f64,
435 pub peakvol: [f64; 2usize],
436 pub preview_track: *mut ::std::os::raw::c_void,
437 }
438 pub type screensetNewCallbackFunc = ::std::option::Option<
439 unsafe extern "C" fn(
440 action: ::std::os::raw::c_int,
441 id: *const ::std::os::raw::c_char,
442 param: *mut ::std::os::raw::c_void,
443 actionParm: *mut ::std::os::raw::c_void,
444 actionParmSize: ::std::os::raw::c_int,
445 ) -> root::LRESULT,
446 >;
447 #[repr(C)]
448 pub struct midi_Output__bindgen_vtable(::std::os::raw::c_void);
449 #[repr(C)]
450 #[derive(Debug, Hash, PartialEq, Eq)]
451 pub struct midi_Output {
452 pub vtable_: *const midi_Output__bindgen_vtable,
453 }
454 #[repr(C)]
455 pub struct midi_Input__bindgen_vtable(::std::os::raw::c_void);
456 #[repr(C)]
457 #[derive(Debug, Hash, PartialEq, Eq)]
458 pub struct midi_Input {
459 pub vtable_: *const midi_Input__bindgen_vtable,
460 }
461 #[repr(C)]
462 #[derive(Debug, Copy, Clone)]
463 pub struct ReaProject {
464 _unused: [u8; 0],
465 }
466 #[repr(C)]
467 #[derive(Debug, Copy, Clone)]
468 pub struct MediaTrack {
469 _unused: [u8; 0],
470 }
471 #[repr(C)]
472 #[derive(Debug, Copy, Clone)]
473 pub struct MediaItem {
474 _unused: [u8; 0],
475 }
476 #[repr(C)]
477 #[derive(Debug, Copy, Clone)]
478 pub struct MediaItem_Take {
479 _unused: [u8; 0],
480 }
481 #[repr(C)]
482 #[derive(Debug, Copy, Clone)]
483 pub struct TrackEnvelope {
484 _unused: [u8; 0],
485 }
486 #[repr(C)]
487 pub struct IReaperControlSurface__bindgen_vtable(::std::os::raw::c_void);
488 #[repr(C)]
489 #[derive(Debug, Hash, PartialEq, Eq)]
490 pub struct IReaperControlSurface {
491 pub vtable_: *const IReaperControlSurface__bindgen_vtable,
492 }
493 pub mod reaper_functions {
494 #[allow(unused_imports)]
495 use self::super::super::root;
496 pub type LICE_pixel = ::std::os::raw::c_uint;
497 pub type LICE_pixel_chan = ::std::os::raw::c_uchar;
498 #[repr(C)]
499 #[derive(Debug, Copy, Clone)]
500 pub struct LICE_IBitmap {
501 _unused: [u8; 0],
502 }
503 #[repr(C)]
504 #[derive(Debug, Copy, Clone)]
505 pub struct LICE_IFont {
506 _unused: [u8; 0],
507 }
508 #[repr(C)]
509 #[derive(Debug, Copy, Clone)]
510 pub struct WDL_VirtualWnd_BGCfg {
511 _unused: [u8; 0],
512 }
513 #[repr(C)]
514 #[derive(Debug, Copy, Clone)]
515 pub struct AudioAccessor {
516 _unused: [u8; 0],
517 }
518 #[repr(C)]
519 #[derive(Debug, Copy, Clone)]
520 pub struct joystick_device {
521 _unused: [u8; 0],
522 }
523 extern "C" {
524 #[link_name = "\u{1}_ZN16reaper_functions11__mergesortE"]
525 pub static mut __mergesort: ::std::option::Option<
526 unsafe extern "C" fn(
527 base: *mut ::std::os::raw::c_void,
528 nmemb: usize,
529 size: usize,
530 cmpfunc: ::std::option::Option<
531 unsafe extern "C" fn(
532 arg1: *const ::std::os::raw::c_void,
533 arg2: *const ::std::os::raw::c_void,
534 ) -> ::std::os::raw::c_int,
535 >,
536 tmpspace: *mut ::std::os::raw::c_void,
537 ),
538 >;
539 }
540 extern "C" {
541 #[link_name = "\u{1}_ZN16reaper_functions19AddCustomizableMenuE"]
542 pub static mut AddCustomizableMenu: ::std::option::Option<
543 unsafe extern "C" fn(
544 menuidstr: *const ::std::os::raw::c_char,
545 menuname: *const ::std::os::raw::c_char,
546 kbdsecname: *const ::std::os::raw::c_char,
547 addtomainmenu: bool,
548 ) -> bool,
549 >;
550 }
551 extern "C" {
552 #[link_name = "\u{1}_ZN16reaper_functions21AddExtensionsMainMenuE"]
553 pub static mut AddExtensionsMainMenu:
554 ::std::option::Option<unsafe extern "C" fn() -> bool>;
555 }
556 extern "C" {
557 #[link_name = "\u{1}_ZN16reaper_functions19AddMediaItemToTrackE"]
558 pub static mut AddMediaItemToTrack: ::std::option::Option<
559 unsafe extern "C" fn(tr: *mut root::MediaTrack) -> *mut root::MediaItem,
560 >;
561 }
562 extern "C" {
563 #[link_name = "\u{1}_ZN16reaper_functions16AddProjectMarkerE"]
564 pub static mut AddProjectMarker: ::std::option::Option<
565 unsafe extern "C" fn(
566 proj: *mut root::ReaProject,
567 isrgn: bool,
568 pos: f64,
569 rgnend: f64,
570 name: *const ::std::os::raw::c_char,
571 wantidx: ::std::os::raw::c_int,
572 ) -> ::std::os::raw::c_int,
573 >;
574 }
575 extern "C" {
576 #[link_name = "\u{1}_ZN16reaper_functions17AddProjectMarker2E"]
577 pub static mut AddProjectMarker2: ::std::option::Option<
578 unsafe extern "C" fn(
579 proj: *mut root::ReaProject,
580 isrgn: bool,
581 pos: f64,
582 rgnend: f64,
583 name: *const ::std::os::raw::c_char,
584 wantidx: ::std::os::raw::c_int,
585 color: ::std::os::raw::c_int,
586 ) -> ::std::os::raw::c_int,
587 >;
588 }
589 extern "C" {
590 #[link_name = "\u{1}_ZN16reaper_functions18AddRemoveReaScriptE"]
591 pub static mut AddRemoveReaScript: ::std::option::Option<
592 unsafe extern "C" fn(
593 add: bool,
594 sectionID: ::std::os::raw::c_int,
595 scriptfn: *const ::std::os::raw::c_char,
596 commit: bool,
597 ) -> ::std::os::raw::c_int,
598 >;
599 }
600 extern "C" {
601 #[link_name = "\u{1}_ZN16reaper_functions18AddTakeToMediaItemE"]
602 pub static mut AddTakeToMediaItem: ::std::option::Option<
603 unsafe extern "C" fn(item: *mut root::MediaItem) -> *mut root::MediaItem_Take,
604 >;
605 }
606 extern "C" {
607 #[link_name = "\u{1}_ZN16reaper_functions21AddTempoTimeSigMarkerE"]
608 pub static mut AddTempoTimeSigMarker: ::std::option::Option<
609 unsafe extern "C" fn(
610 proj: *mut root::ReaProject,
611 timepos: f64,
612 bpm: f64,
613 timesig_num: ::std::os::raw::c_int,
614 timesig_denom: ::std::os::raw::c_int,
615 lineartempochange: bool,
616 ) -> bool,
617 >;
618 }
619 extern "C" {
620 #[link_name = "\u{1}_ZN16reaper_functions10adjustZoomE"]
621 pub static mut adjustZoom: ::std::option::Option<
622 unsafe extern "C" fn(
623 amt: f64,
624 forceset: ::std::os::raw::c_int,
625 doupd: bool,
626 centermode: ::std::os::raw::c_int,
627 ),
628 >;
629 }
630 extern "C" {
631 #[link_name = "\u{1}_ZN16reaper_functions12AnyTrackSoloE"]
632 pub static mut AnyTrackSolo:
633 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject) -> bool>;
634 }
635 extern "C" {
636 #[link_name = "\u{1}_ZN16reaper_functions9APIExistsE"]
637 pub static mut APIExists: ::std::option::Option<
638 unsafe extern "C" fn(function_name: *const ::std::os::raw::c_char) -> bool,
639 >;
640 }
641 extern "C" {
642 #[link_name = "\u{1}_ZN16reaper_functions7APITestE"]
643 pub static mut APITest: ::std::option::Option<unsafe extern "C" fn()>;
644 }
645 extern "C" {
646 #[link_name = "\u{1}_ZN16reaper_functions10ApplyNudgeE"]
647 pub static mut ApplyNudge: ::std::option::Option<
648 unsafe extern "C" fn(
649 project: *mut root::ReaProject,
650 nudgeflag: ::std::os::raw::c_int,
651 nudgewhat: ::std::os::raw::c_int,
652 nudgeunits: ::std::os::raw::c_int,
653 value: f64,
654 reverse: bool,
655 copies: ::std::os::raw::c_int,
656 ) -> bool,
657 >;
658 }
659 extern "C" {
660 #[link_name = "\u{1}_ZN16reaper_functions10ArmCommandE"]
661 pub static mut ArmCommand: ::std::option::Option<
662 unsafe extern "C" fn(
663 cmd: ::std::os::raw::c_int,
664 sectionname: *const ::std::os::raw::c_char,
665 ),
666 >;
667 }
668 extern "C" {
669 #[link_name = "\u{1}_ZN16reaper_functions10Audio_InitE"]
670 pub static mut Audio_Init: ::std::option::Option<unsafe extern "C" fn()>;
671 }
672 extern "C" {
673 #[link_name = "\u{1}_ZN16reaper_functions17Audio_IsPreBufferE"]
674 pub static mut Audio_IsPreBuffer:
675 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
676 }
677 extern "C" {
678 #[link_name = "\u{1}_ZN16reaper_functions15Audio_IsRunningE"]
679 pub static mut Audio_IsRunning:
680 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
681 }
682 extern "C" {
683 #[link_name = "\u{1}_ZN16reaper_functions10Audio_QuitE"]
684 pub static mut Audio_Quit: ::std::option::Option<unsafe extern "C" fn()>;
685 }
686 extern "C" {
687 #[link_name = "\u{1}_ZN16reaper_functions21Audio_RegHardwareHookE"]
688 pub static mut Audio_RegHardwareHook: ::std::option::Option<
689 unsafe extern "C" fn(
690 isAdd: bool,
691 reg: *mut root::audio_hook_register_t,
692 ) -> ::std::os::raw::c_int,
693 >;
694 }
695 extern "C" {
696 #[link_name = "\u{1}_ZN16reaper_functions25AudioAccessorStateChangedE"]
697 pub static mut AudioAccessorStateChanged: ::std::option::Option<
698 unsafe extern "C" fn(accessor: *mut root::reaper_functions::AudioAccessor) -> bool,
699 >;
700 }
701 extern "C" {
702 #[link_name = "\u{1}_ZN16reaper_functions19AudioAccessorUpdateE"]
703 pub static mut AudioAccessorUpdate: ::std::option::Option<
704 unsafe extern "C" fn(accessor: *mut root::reaper_functions::AudioAccessor),
705 >;
706 }
707 extern "C" {
708 #[link_name = "\u{1}_ZN16reaper_functions26AudioAccessorValidateStateE"]
709 pub static mut AudioAccessorValidateState: ::std::option::Option<
710 unsafe extern "C" fn(accessor: *mut root::reaper_functions::AudioAccessor) -> bool,
711 >;
712 }
713 extern "C" {
714 #[link_name = "\u{1}_ZN16reaper_functions17BypassFxAllTracksE"]
715 pub static mut BypassFxAllTracks:
716 ::std::option::Option<unsafe extern "C" fn(bypass: ::std::os::raw::c_int)>;
717 }
718 extern "C" {
719 #[link_name = "\u{1}_ZN16reaper_functions14CalculatePeaksE"]
720 pub static mut CalculatePeaks: ::std::option::Option<
721 unsafe extern "C" fn(
722 srcBlock: *mut root::PCM_source_transfer_t,
723 pksBlock: *mut root::PCM_source_peaktransfer_t,
724 ) -> ::std::os::raw::c_int,
725 >;
726 }
727 extern "C" {
728 #[link_name = "\u{1}_ZN16reaper_functions25CalculatePeaksFloatSrcPtrE"]
729 pub static mut CalculatePeaksFloatSrcPtr: ::std::option::Option<
730 unsafe extern "C" fn(
731 srcBlock: *mut root::PCM_source_transfer_t,
732 pksBlock: *mut root::PCM_source_peaktransfer_t,
733 ) -> ::std::os::raw::c_int,
734 >;
735 }
736 extern "C" {
737 #[link_name = "\u{1}_ZN16reaper_functions16ClearAllRecArmedE"]
738 pub static mut ClearAllRecArmed: ::std::option::Option<unsafe extern "C" fn()>;
739 }
740 extern "C" {
741 #[link_name = "\u{1}_ZN16reaper_functions12ClearConsoleE"]
742 pub static mut ClearConsole: ::std::option::Option<unsafe extern "C" fn()>;
743 }
744 extern "C" {
745 #[link_name = "\u{1}_ZN16reaper_functions14ClearPeakCacheE"]
746 pub static mut ClearPeakCache: ::std::option::Option<unsafe extern "C" fn()>;
747 }
748 extern "C" {
749 #[link_name = "\u{1}_ZN16reaper_functions15ColorFromNativeE"]
750 pub static mut ColorFromNative: ::std::option::Option<
751 unsafe extern "C" fn(
752 col: ::std::os::raw::c_int,
753 rOut: *mut ::std::os::raw::c_int,
754 gOut: *mut ::std::os::raw::c_int,
755 bOut: *mut ::std::os::raw::c_int,
756 ),
757 >;
758 }
759 extern "C" {
760 #[link_name = "\u{1}_ZN16reaper_functions13ColorToNativeE"]
761 pub static mut ColorToNative: ::std::option::Option<
762 unsafe extern "C" fn(
763 r: ::std::os::raw::c_int,
764 g: ::std::os::raw::c_int,
765 b: ::std::os::raw::c_int,
766 ) -> ::std::os::raw::c_int,
767 >;
768 }
769 extern "C" {
770 #[link_name = "\u{1}_ZN16reaper_functions20CountActionShortcutsE"]
771 pub static mut CountActionShortcuts: ::std::option::Option<
772 unsafe extern "C" fn(
773 section: *mut root::KbdSectionInfo,
774 cmdID: ::std::os::raw::c_int,
775 ) -> ::std::os::raw::c_int,
776 >;
777 }
778 extern "C" {
779 #[link_name = "\u{1}_ZN16reaper_functions20CountAutomationItemsE"]
780 pub static mut CountAutomationItems: ::std::option::Option<
781 unsafe extern "C" fn(env: *mut root::TrackEnvelope) -> ::std::os::raw::c_int,
782 >;
783 }
784 extern "C" {
785 #[link_name = "\u{1}_ZN16reaper_functions19CountEnvelopePointsE"]
786 pub static mut CountEnvelopePoints: ::std::option::Option<
787 unsafe extern "C" fn(envelope: *mut root::TrackEnvelope) -> ::std::os::raw::c_int,
788 >;
789 }
790 extern "C" {
791 #[link_name = "\u{1}_ZN16reaper_functions21CountEnvelopePointsExE"]
792 pub static mut CountEnvelopePointsEx: ::std::option::Option<
793 unsafe extern "C" fn(
794 envelope: *mut root::TrackEnvelope,
795 autoitem_idx: ::std::os::raw::c_int,
796 ) -> ::std::os::raw::c_int,
797 >;
798 }
799 extern "C" {
800 #[link_name = "\u{1}_ZN16reaper_functions15CountMediaItemsE"]
801 pub static mut CountMediaItems: ::std::option::Option<
802 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
803 >;
804 }
805 extern "C" {
806 #[link_name = "\u{1}_ZN16reaper_functions19CountProjectMarkersE"]
807 pub static mut CountProjectMarkers: ::std::option::Option<
808 unsafe extern "C" fn(
809 proj: *mut root::ReaProject,
810 num_markersOut: *mut ::std::os::raw::c_int,
811 num_regionsOut: *mut ::std::os::raw::c_int,
812 ) -> ::std::os::raw::c_int,
813 >;
814 }
815 extern "C" {
816 #[link_name = "\u{1}_ZN16reaper_functions23CountSelectedMediaItemsE"]
817 pub static mut CountSelectedMediaItems: ::std::option::Option<
818 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
819 >;
820 }
821 extern "C" {
822 #[link_name = "\u{1}_ZN16reaper_functions19CountSelectedTracksE"]
823 pub static mut CountSelectedTracks: ::std::option::Option<
824 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
825 >;
826 }
827 extern "C" {
828 #[link_name = "\u{1}_ZN16reaper_functions20CountSelectedTracks2E"]
829 pub static mut CountSelectedTracks2: ::std::option::Option<
830 unsafe extern "C" fn(
831 proj: *mut root::ReaProject,
832 wantmaster: bool,
833 ) -> ::std::os::raw::c_int,
834 >;
835 }
836 extern "C" {
837 #[link_name = "\u{1}_ZN16reaper_functions18CountTakeEnvelopesE"]
838 pub static mut CountTakeEnvelopes: ::std::option::Option<
839 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> ::std::os::raw::c_int,
840 >;
841 }
842 extern "C" {
843 #[link_name = "\u{1}_ZN16reaper_functions10CountTakesE"]
844 pub static mut CountTakes: ::std::option::Option<
845 unsafe extern "C" fn(item: *mut root::MediaItem) -> ::std::os::raw::c_int,
846 >;
847 }
848 extern "C" {
849 #[link_name = "\u{1}_ZN16reaper_functions15CountTCPFXParmsE"]
850 pub static mut CountTCPFXParms: ::std::option::Option<
851 unsafe extern "C" fn(
852 project: *mut root::ReaProject,
853 track: *mut root::MediaTrack,
854 ) -> ::std::os::raw::c_int,
855 >;
856 }
857 extern "C" {
858 #[link_name = "\u{1}_ZN16reaper_functions24CountTempoTimeSigMarkersE"]
859 pub static mut CountTempoTimeSigMarkers: ::std::option::Option<
860 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
861 >;
862 }
863 extern "C" {
864 #[link_name = "\u{1}_ZN16reaper_functions19CountTrackEnvelopesE"]
865 pub static mut CountTrackEnvelopes: ::std::option::Option<
866 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
867 >;
868 }
869 extern "C" {
870 #[link_name = "\u{1}_ZN16reaper_functions20CountTrackMediaItemsE"]
871 pub static mut CountTrackMediaItems: ::std::option::Option<
872 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
873 >;
874 }
875 extern "C" {
876 #[link_name = "\u{1}_ZN16reaper_functions11CountTracksE"]
877 pub static mut CountTracks: ::std::option::Option<
878 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
879 >;
880 }
881 extern "C" {
882 #[link_name = "\u{1}_ZN16reaper_functions21CreateLocalOscHandlerE"]
883 pub static mut CreateLocalOscHandler: ::std::option::Option<
884 unsafe extern "C" fn(
885 obj: *mut ::std::os::raw::c_void,
886 callback: *mut ::std::os::raw::c_void,
887 ) -> *mut ::std::os::raw::c_void,
888 >;
889 }
890 extern "C" {
891 #[link_name = "\u{1}_ZN16reaper_functions15CreateMIDIInputE"]
892 pub static mut CreateMIDIInput: ::std::option::Option<
893 unsafe extern "C" fn(dev: ::std::os::raw::c_int) -> *mut root::midi_Input,
894 >;
895 }
896 extern "C" {
897 #[link_name = "\u{1}_ZN16reaper_functions16CreateMIDIOutputE"]
898 pub static mut CreateMIDIOutput: ::std::option::Option<
899 unsafe extern "C" fn(
900 dev: ::std::os::raw::c_int,
901 streamMode: bool,
902 msoffset100: *mut ::std::os::raw::c_int,
903 ) -> *mut root::midi_Output,
904 >;
905 }
906 extern "C" {
907 #[link_name = "\u{1}_ZN16reaper_functions23CreateNewMIDIItemInProjE"]
908 pub static mut CreateNewMIDIItemInProj: ::std::option::Option<
909 unsafe extern "C" fn(
910 track: *mut root::MediaTrack,
911 starttime: f64,
912 endtime: f64,
913 qnInOptional: *const bool,
914 ) -> *mut root::MediaItem,
915 >;
916 }
917 extern "C" {
918 #[link_name = "\u{1}_ZN16reaper_functions23CreateTakeAudioAccessorE"]
919 pub static mut CreateTakeAudioAccessor: ::std::option::Option<
920 unsafe extern "C" fn(
921 take: *mut root::MediaItem_Take,
922 ) -> *mut root::reaper_functions::AudioAccessor,
923 >;
924 }
925 extern "C" {
926 #[link_name = "\u{1}_ZN16reaper_functions24CreateTrackAudioAccessorE"]
927 pub static mut CreateTrackAudioAccessor: ::std::option::Option<
928 unsafe extern "C" fn(
929 track: *mut root::MediaTrack,
930 ) -> *mut root::reaper_functions::AudioAccessor,
931 >;
932 }
933 extern "C" {
934 #[link_name = "\u{1}_ZN16reaper_functions15CreateTrackSendE"]
935 pub static mut CreateTrackSend: ::std::option::Option<
936 unsafe extern "C" fn(
937 tr: *mut root::MediaTrack,
938 desttrInOptional: *mut root::MediaTrack,
939 ) -> ::std::os::raw::c_int,
940 >;
941 }
942 extern "C" {
943 #[link_name = "\u{1}_ZN16reaper_functions15CSurf_FlushUndoE"]
944 pub static mut CSurf_FlushUndo:
945 ::std::option::Option<unsafe extern "C" fn(force: bool)>;
946 }
947 extern "C" {
948 #[link_name = "\u{1}_ZN16reaper_functions19CSurf_GetTouchStateE"]
949 pub static mut CSurf_GetTouchState: ::std::option::Option<
950 unsafe extern "C" fn(
951 trackid: *mut root::MediaTrack,
952 isPan: ::std::os::raw::c_int,
953 ) -> bool,
954 >;
955 }
956 extern "C" {
957 #[link_name = "\u{1}_ZN16reaper_functions11CSurf_GoEndE"]
958 pub static mut CSurf_GoEnd: ::std::option::Option<unsafe extern "C" fn()>;
959 }
960 extern "C" {
961 #[link_name = "\u{1}_ZN16reaper_functions13CSurf_GoStartE"]
962 pub static mut CSurf_GoStart: ::std::option::Option<unsafe extern "C" fn()>;
963 }
964 extern "C" {
965 #[link_name = "\u{1}_ZN16reaper_functions15CSurf_NumTracksE"]
966 pub static mut CSurf_NumTracks:
967 ::std::option::Option<unsafe extern "C" fn(mcpView: bool) -> ::std::os::raw::c_int>;
968 }
969 extern "C" {
970 #[link_name = "\u{1}_ZN16reaper_functions13CSurf_OnArrowE"]
971 pub static mut CSurf_OnArrow: ::std::option::Option<
972 unsafe extern "C" fn(whichdir: ::std::os::raw::c_int, wantzoom: bool),
973 >;
974 }
975 extern "C" {
976 #[link_name = "\u{1}_ZN16reaper_functions11CSurf_OnFwdE"]
977 pub static mut CSurf_OnFwd:
978 ::std::option::Option<unsafe extern "C" fn(seekplay: ::std::os::raw::c_int)>;
979 }
980 extern "C" {
981 #[link_name = "\u{1}_ZN16reaper_functions16CSurf_OnFXChangeE"]
982 pub static mut CSurf_OnFXChange: ::std::option::Option<
983 unsafe extern "C" fn(
984 trackid: *mut root::MediaTrack,
985 en: ::std::os::raw::c_int,
986 ) -> bool,
987 >;
988 }
989 extern "C" {
990 #[link_name = "\u{1}_ZN16reaper_functions26CSurf_OnInputMonitorChangeE"]
991 pub static mut CSurf_OnInputMonitorChange: ::std::option::Option<
992 unsafe extern "C" fn(
993 trackid: *mut root::MediaTrack,
994 monitor: ::std::os::raw::c_int,
995 ) -> ::std::os::raw::c_int,
996 >;
997 }
998 extern "C" {
999 #[link_name = "\u{1}_ZN16reaper_functions28CSurf_OnInputMonitorChangeExE"]
1000 pub static mut CSurf_OnInputMonitorChangeEx: ::std::option::Option<
1001 unsafe extern "C" fn(
1002 trackid: *mut root::MediaTrack,
1003 monitor: ::std::os::raw::c_int,
1004 allowgang: bool,
1005 ) -> ::std::os::raw::c_int,
1006 >;
1007 }
1008 extern "C" {
1009 #[link_name = "\u{1}_ZN16reaper_functions18CSurf_OnMuteChangeE"]
1010 pub static mut CSurf_OnMuteChange: ::std::option::Option<
1011 unsafe extern "C" fn(
1012 trackid: *mut root::MediaTrack,
1013 mute: ::std::os::raw::c_int,
1014 ) -> bool,
1015 >;
1016 }
1017 extern "C" {
1018 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_OnMuteChangeExE"]
1019 pub static mut CSurf_OnMuteChangeEx: ::std::option::Option<
1020 unsafe extern "C" fn(
1021 trackid: *mut root::MediaTrack,
1022 mute: ::std::os::raw::c_int,
1023 allowgang: bool,
1024 ) -> bool,
1025 >;
1026 }
1027 extern "C" {
1028 #[link_name = "\u{1}_ZN16reaper_functions25CSurf_OnOscControlMessageE"]
1029 pub static mut CSurf_OnOscControlMessage: ::std::option::Option<
1030 unsafe extern "C" fn(msg: *const ::std::os::raw::c_char, arg: *const f32),
1031 >;
1032 }
1033 extern "C" {
1034 #[link_name = "\u{1}_ZN16reaper_functions17CSurf_OnPanChangeE"]
1035 pub static mut CSurf_OnPanChange: ::std::option::Option<
1036 unsafe extern "C" fn(
1037 trackid: *mut root::MediaTrack,
1038 pan: f64,
1039 relative: bool,
1040 ) -> f64,
1041 >;
1042 }
1043 extern "C" {
1044 #[link_name = "\u{1}_ZN16reaper_functions19CSurf_OnPanChangeExE"]
1045 pub static mut CSurf_OnPanChangeEx: ::std::option::Option<
1046 unsafe extern "C" fn(
1047 trackid: *mut root::MediaTrack,
1048 pan: f64,
1049 relative: bool,
1050 allowGang: bool,
1051 ) -> f64,
1052 >;
1053 }
1054 extern "C" {
1055 #[link_name = "\u{1}_ZN16reaper_functions13CSurf_OnPauseE"]
1056 pub static mut CSurf_OnPause: ::std::option::Option<unsafe extern "C" fn()>;
1057 }
1058 extern "C" {
1059 #[link_name = "\u{1}_ZN16reaper_functions12CSurf_OnPlayE"]
1060 pub static mut CSurf_OnPlay: ::std::option::Option<unsafe extern "C" fn()>;
1061 }
1062 extern "C" {
1063 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_OnPlayRateChangeE"]
1064 pub static mut CSurf_OnPlayRateChange:
1065 ::std::option::Option<unsafe extern "C" fn(playrate: f64)>;
1066 }
1067 extern "C" {
1068 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_OnRecArmChangeE"]
1069 pub static mut CSurf_OnRecArmChange: ::std::option::Option<
1070 unsafe extern "C" fn(
1071 trackid: *mut root::MediaTrack,
1072 recarm: ::std::os::raw::c_int,
1073 ) -> bool,
1074 >;
1075 }
1076 extern "C" {
1077 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_OnRecArmChangeExE"]
1078 pub static mut CSurf_OnRecArmChangeEx: ::std::option::Option<
1079 unsafe extern "C" fn(
1080 trackid: *mut root::MediaTrack,
1081 recarm: ::std::os::raw::c_int,
1082 allowgang: bool,
1083 ) -> bool,
1084 >;
1085 }
1086 extern "C" {
1087 #[link_name = "\u{1}_ZN16reaper_functions14CSurf_OnRecordE"]
1088 pub static mut CSurf_OnRecord: ::std::option::Option<unsafe extern "C" fn()>;
1089 }
1090 extern "C" {
1091 #[link_name = "\u{1}_ZN16reaper_functions21CSurf_OnRecvPanChangeE"]
1092 pub static mut CSurf_OnRecvPanChange: ::std::option::Option<
1093 unsafe extern "C" fn(
1094 trackid: *mut root::MediaTrack,
1095 recv_index: ::std::os::raw::c_int,
1096 pan: f64,
1097 relative: bool,
1098 ) -> f64,
1099 >;
1100 }
1101 extern "C" {
1102 #[link_name = "\u{1}_ZN16reaper_functions24CSurf_OnRecvVolumeChangeE"]
1103 pub static mut CSurf_OnRecvVolumeChange: ::std::option::Option<
1104 unsafe extern "C" fn(
1105 trackid: *mut root::MediaTrack,
1106 recv_index: ::std::os::raw::c_int,
1107 volume: f64,
1108 relative: bool,
1109 ) -> f64,
1110 >;
1111 }
1112 extern "C" {
1113 #[link_name = "\u{1}_ZN16reaper_functions11CSurf_OnRewE"]
1114 pub static mut CSurf_OnRew:
1115 ::std::option::Option<unsafe extern "C" fn(seekplay: ::std::os::raw::c_int)>;
1116 }
1117 extern "C" {
1118 #[link_name = "\u{1}_ZN16reaper_functions14CSurf_OnRewFwdE"]
1119 pub static mut CSurf_OnRewFwd: ::std::option::Option<
1120 unsafe extern "C" fn(seekplay: ::std::os::raw::c_int, dir: ::std::os::raw::c_int),
1121 >;
1122 }
1123 extern "C" {
1124 #[link_name = "\u{1}_ZN16reaper_functions14CSurf_OnScrollE"]
1125 pub static mut CSurf_OnScroll: ::std::option::Option<
1126 unsafe extern "C" fn(xdir: ::std::os::raw::c_int, ydir: ::std::os::raw::c_int),
1127 >;
1128 }
1129 extern "C" {
1130 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_OnSelectedChangeE"]
1131 pub static mut CSurf_OnSelectedChange: ::std::option::Option<
1132 unsafe extern "C" fn(
1133 trackid: *mut root::MediaTrack,
1134 selected: ::std::os::raw::c_int,
1135 ) -> bool,
1136 >;
1137 }
1138 extern "C" {
1139 #[link_name = "\u{1}_ZN16reaper_functions21CSurf_OnSendPanChangeE"]
1140 pub static mut CSurf_OnSendPanChange: ::std::option::Option<
1141 unsafe extern "C" fn(
1142 trackid: *mut root::MediaTrack,
1143 send_index: ::std::os::raw::c_int,
1144 pan: f64,
1145 relative: bool,
1146 ) -> f64,
1147 >;
1148 }
1149 extern "C" {
1150 #[link_name = "\u{1}_ZN16reaper_functions24CSurf_OnSendVolumeChangeE"]
1151 pub static mut CSurf_OnSendVolumeChange: ::std::option::Option<
1152 unsafe extern "C" fn(
1153 trackid: *mut root::MediaTrack,
1154 send_index: ::std::os::raw::c_int,
1155 volume: f64,
1156 relative: bool,
1157 ) -> f64,
1158 >;
1159 }
1160 extern "C" {
1161 #[link_name = "\u{1}_ZN16reaper_functions18CSurf_OnSoloChangeE"]
1162 pub static mut CSurf_OnSoloChange: ::std::option::Option<
1163 unsafe extern "C" fn(
1164 trackid: *mut root::MediaTrack,
1165 solo: ::std::os::raw::c_int,
1166 ) -> bool,
1167 >;
1168 }
1169 extern "C" {
1170 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_OnSoloChangeExE"]
1171 pub static mut CSurf_OnSoloChangeEx: ::std::option::Option<
1172 unsafe extern "C" fn(
1173 trackid: *mut root::MediaTrack,
1174 solo: ::std::os::raw::c_int,
1175 allowgang: bool,
1176 ) -> bool,
1177 >;
1178 }
1179 extern "C" {
1180 #[link_name = "\u{1}_ZN16reaper_functions12CSurf_OnStopE"]
1181 pub static mut CSurf_OnStop: ::std::option::Option<unsafe extern "C" fn()>;
1182 }
1183 extern "C" {
1184 #[link_name = "\u{1}_ZN16reaper_functions19CSurf_OnTempoChangeE"]
1185 pub static mut CSurf_OnTempoChange:
1186 ::std::option::Option<unsafe extern "C" fn(bpm: f64)>;
1187 }
1188 extern "C" {
1189 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_OnTrackSelectionE"]
1190 pub static mut CSurf_OnTrackSelection:
1191 ::std::option::Option<unsafe extern "C" fn(trackid: *mut root::MediaTrack)>;
1192 }
1193 extern "C" {
1194 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_OnVolumeChangeE"]
1195 pub static mut CSurf_OnVolumeChange: ::std::option::Option<
1196 unsafe extern "C" fn(
1197 trackid: *mut root::MediaTrack,
1198 volume: f64,
1199 relative: bool,
1200 ) -> f64,
1201 >;
1202 }
1203 extern "C" {
1204 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_OnVolumeChangeExE"]
1205 pub static mut CSurf_OnVolumeChangeEx: ::std::option::Option<
1206 unsafe extern "C" fn(
1207 trackid: *mut root::MediaTrack,
1208 volume: f64,
1209 relative: bool,
1210 allowGang: bool,
1211 ) -> f64,
1212 >;
1213 }
1214 extern "C" {
1215 #[link_name = "\u{1}_ZN16reaper_functions19CSurf_OnWidthChangeE"]
1216 pub static mut CSurf_OnWidthChange: ::std::option::Option<
1217 unsafe extern "C" fn(
1218 trackid: *mut root::MediaTrack,
1219 width: f64,
1220 relative: bool,
1221 ) -> f64,
1222 >;
1223 }
1224 extern "C" {
1225 #[link_name = "\u{1}_ZN16reaper_functions21CSurf_OnWidthChangeExE"]
1226 pub static mut CSurf_OnWidthChangeEx: ::std::option::Option<
1227 unsafe extern "C" fn(
1228 trackid: *mut root::MediaTrack,
1229 width: f64,
1230 relative: bool,
1231 allowGang: bool,
1232 ) -> f64,
1233 >;
1234 }
1235 extern "C" {
1236 #[link_name = "\u{1}_ZN16reaper_functions12CSurf_OnZoomE"]
1237 pub static mut CSurf_OnZoom: ::std::option::Option<
1238 unsafe extern "C" fn(xdir: ::std::os::raw::c_int, ydir: ::std::os::raw::c_int),
1239 >;
1240 }
1241 extern "C" {
1242 #[link_name = "\u{1}_ZN16reaper_functions32CSurf_ResetAllCachedVolPanStatesE"]
1243 pub static mut CSurf_ResetAllCachedVolPanStates:
1244 ::std::option::Option<unsafe extern "C" fn()>;
1245 }
1246 extern "C" {
1247 #[link_name = "\u{1}_ZN16reaper_functions14CSurf_ScrubAmtE"]
1248 pub static mut CSurf_ScrubAmt: ::std::option::Option<unsafe extern "C" fn(amt: f64)>;
1249 }
1250 extern "C" {
1251 #[link_name = "\u{1}_ZN16reaper_functions17CSurf_SetAutoModeE"]
1252 pub static mut CSurf_SetAutoMode: ::std::option::Option<
1253 unsafe extern "C" fn(
1254 mode: ::std::os::raw::c_int,
1255 ignoresurf: *mut root::IReaperControlSurface,
1256 ),
1257 >;
1258 }
1259 extern "C" {
1260 #[link_name = "\u{1}_ZN16reaper_functions18CSurf_SetPlayStateE"]
1261 pub static mut CSurf_SetPlayState: ::std::option::Option<
1262 unsafe extern "C" fn(
1263 play: bool,
1264 pause: bool,
1265 rec: bool,
1266 ignoresurf: *mut root::IReaperControlSurface,
1267 ),
1268 >;
1269 }
1270 extern "C" {
1271 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_SetRepeatStateE"]
1272 pub static mut CSurf_SetRepeatState: ::std::option::Option<
1273 unsafe extern "C" fn(rep: bool, ignoresurf: *mut root::IReaperControlSurface),
1274 >;
1275 }
1276 extern "C" {
1277 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_SetSurfaceMuteE"]
1278 pub static mut CSurf_SetSurfaceMute: ::std::option::Option<
1279 unsafe extern "C" fn(
1280 trackid: *mut root::MediaTrack,
1281 mute: bool,
1282 ignoresurf: *mut root::IReaperControlSurface,
1283 ),
1284 >;
1285 }
1286 extern "C" {
1287 #[link_name = "\u{1}_ZN16reaper_functions19CSurf_SetSurfacePanE"]
1288 pub static mut CSurf_SetSurfacePan: ::std::option::Option<
1289 unsafe extern "C" fn(
1290 trackid: *mut root::MediaTrack,
1291 pan: f64,
1292 ignoresurf: *mut root::IReaperControlSurface,
1293 ),
1294 >;
1295 }
1296 extern "C" {
1297 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_SetSurfaceRecArmE"]
1298 pub static mut CSurf_SetSurfaceRecArm: ::std::option::Option<
1299 unsafe extern "C" fn(
1300 trackid: *mut root::MediaTrack,
1301 recarm: bool,
1302 ignoresurf: *mut root::IReaperControlSurface,
1303 ),
1304 >;
1305 }
1306 extern "C" {
1307 #[link_name = "\u{1}_ZN16reaper_functions24CSurf_SetSurfaceSelectedE"]
1308 pub static mut CSurf_SetSurfaceSelected: ::std::option::Option<
1309 unsafe extern "C" fn(
1310 trackid: *mut root::MediaTrack,
1311 selected: bool,
1312 ignoresurf: *mut root::IReaperControlSurface,
1313 ),
1314 >;
1315 }
1316 extern "C" {
1317 #[link_name = "\u{1}_ZN16reaper_functions20CSurf_SetSurfaceSoloE"]
1318 pub static mut CSurf_SetSurfaceSolo: ::std::option::Option<
1319 unsafe extern "C" fn(
1320 trackid: *mut root::MediaTrack,
1321 solo: bool,
1322 ignoresurf: *mut root::IReaperControlSurface,
1323 ),
1324 >;
1325 }
1326 extern "C" {
1327 #[link_name = "\u{1}_ZN16reaper_functions22CSurf_SetSurfaceVolumeE"]
1328 pub static mut CSurf_SetSurfaceVolume: ::std::option::Option<
1329 unsafe extern "C" fn(
1330 trackid: *mut root::MediaTrack,
1331 volume: f64,
1332 ignoresurf: *mut root::IReaperControlSurface,
1333 ),
1334 >;
1335 }
1336 extern "C" {
1337 #[link_name = "\u{1}_ZN16reaper_functions24CSurf_SetTrackListChangeE"]
1338 pub static mut CSurf_SetTrackListChange: ::std::option::Option<unsafe extern "C" fn()>;
1339 }
1340 extern "C" {
1341 #[link_name = "\u{1}_ZN16reaper_functions17CSurf_TrackFromIDE"]
1342 pub static mut CSurf_TrackFromID: ::std::option::Option<
1343 unsafe extern "C" fn(
1344 idx: ::std::os::raw::c_int,
1345 mcpView: bool,
1346 ) -> *mut root::MediaTrack,
1347 >;
1348 }
1349 extern "C" {
1350 #[link_name = "\u{1}_ZN16reaper_functions15CSurf_TrackToIDE"]
1351 pub static mut CSurf_TrackToID: ::std::option::Option<
1352 unsafe extern "C" fn(
1353 track: *mut root::MediaTrack,
1354 mcpView: bool,
1355 ) -> ::std::os::raw::c_int,
1356 >;
1357 }
1358 extern "C" {
1359 #[link_name = "\u{1}_ZN16reaper_functions9DB2SLIDERE"]
1360 pub static mut DB2SLIDER: ::std::option::Option<unsafe extern "C" fn(x: f64) -> f64>;
1361 }
1362 extern "C" {
1363 #[link_name = "\u{1}_ZN16reaper_functions20DeleteActionShortcutE"]
1364 pub static mut DeleteActionShortcut: ::std::option::Option<
1365 unsafe extern "C" fn(
1366 section: *mut root::KbdSectionInfo,
1367 cmdID: ::std::os::raw::c_int,
1368 shortcutidx: ::std::os::raw::c_int,
1369 ) -> bool,
1370 >;
1371 }
1372 extern "C" {
1373 #[link_name = "\u{1}_ZN16reaper_functions21DeleteEnvelopePointExE"]
1374 pub static mut DeleteEnvelopePointEx: ::std::option::Option<
1375 unsafe extern "C" fn(
1376 envelope: *mut root::TrackEnvelope,
1377 autoitem_idx: ::std::os::raw::c_int,
1378 ptidx: ::std::os::raw::c_int,
1379 ) -> bool,
1380 >;
1381 }
1382 extern "C" {
1383 #[link_name = "\u{1}_ZN16reaper_functions24DeleteEnvelopePointRangeE"]
1384 pub static mut DeleteEnvelopePointRange: ::std::option::Option<
1385 unsafe extern "C" fn(
1386 envelope: *mut root::TrackEnvelope,
1387 time_start: f64,
1388 time_end: f64,
1389 ) -> bool,
1390 >;
1391 }
1392 extern "C" {
1393 #[link_name = "\u{1}_ZN16reaper_functions26DeleteEnvelopePointRangeExE"]
1394 pub static mut DeleteEnvelopePointRangeEx: ::std::option::Option<
1395 unsafe extern "C" fn(
1396 envelope: *mut root::TrackEnvelope,
1397 autoitem_idx: ::std::os::raw::c_int,
1398 time_start: f64,
1399 time_end: f64,
1400 ) -> bool,
1401 >;
1402 }
1403 extern "C" {
1404 #[link_name = "\u{1}_ZN16reaper_functions14DeleteExtStateE"]
1405 pub static mut DeleteExtState: ::std::option::Option<
1406 unsafe extern "C" fn(
1407 section: *const ::std::os::raw::c_char,
1408 key: *const ::std::os::raw::c_char,
1409 persist: bool,
1410 ),
1411 >;
1412 }
1413 extern "C" {
1414 #[link_name = "\u{1}_ZN16reaper_functions19DeleteProjectMarkerE"]
1415 pub static mut DeleteProjectMarker: ::std::option::Option<
1416 unsafe extern "C" fn(
1417 proj: *mut root::ReaProject,
1418 markrgnindexnumber: ::std::os::raw::c_int,
1419 isrgn: bool,
1420 ) -> bool,
1421 >;
1422 }
1423 extern "C" {
1424 #[link_name = "\u{1}_ZN16reaper_functions26DeleteProjectMarkerByIndexE"]
1425 pub static mut DeleteProjectMarkerByIndex: ::std::option::Option<
1426 unsafe extern "C" fn(
1427 proj: *mut root::ReaProject,
1428 markrgnidx: ::std::os::raw::c_int,
1429 ) -> bool,
1430 >;
1431 }
1432 extern "C" {
1433 #[link_name = "\u{1}_ZN16reaper_functions24DeleteTakeStretchMarkersE"]
1434 pub static mut DeleteTakeStretchMarkers: ::std::option::Option<
1435 unsafe extern "C" fn(
1436 take: *mut root::MediaItem_Take,
1437 idx: ::std::os::raw::c_int,
1438 countInOptional: *const ::std::os::raw::c_int,
1439 ) -> ::std::os::raw::c_int,
1440 >;
1441 }
1442 extern "C" {
1443 #[link_name = "\u{1}_ZN16reaper_functions24DeleteTempoTimeSigMarkerE"]
1444 pub static mut DeleteTempoTimeSigMarker: ::std::option::Option<
1445 unsafe extern "C" fn(
1446 project: *mut root::ReaProject,
1447 markerindex: ::std::os::raw::c_int,
1448 ) -> bool,
1449 >;
1450 }
1451 extern "C" {
1452 #[link_name = "\u{1}_ZN16reaper_functions11DeleteTrackE"]
1453 pub static mut DeleteTrack:
1454 ::std::option::Option<unsafe extern "C" fn(tr: *mut root::MediaTrack)>;
1455 }
1456 extern "C" {
1457 #[link_name = "\u{1}_ZN16reaper_functions20DeleteTrackMediaItemE"]
1458 pub static mut DeleteTrackMediaItem: ::std::option::Option<
1459 unsafe extern "C" fn(tr: *mut root::MediaTrack, it: *mut root::MediaItem) -> bool,
1460 >;
1461 }
1462 extern "C" {
1463 #[link_name = "\u{1}_ZN16reaper_functions20DestroyAudioAccessorE"]
1464 pub static mut DestroyAudioAccessor: ::std::option::Option<
1465 unsafe extern "C" fn(accessor: *mut root::reaper_functions::AudioAccessor),
1466 >;
1467 }
1468 extern "C" {
1469 #[link_name = "\u{1}_ZN16reaper_functions22DestroyLocalOscHandlerE"]
1470 pub static mut DestroyLocalOscHandler: ::std::option::Option<
1471 unsafe extern "C" fn(local_osc_handler: *mut ::std::os::raw::c_void),
1472 >;
1473 }
1474 extern "C" {
1475 #[link_name = "\u{1}_ZN16reaper_functions22DoActionShortcutDialogE"]
1476 pub static mut DoActionShortcutDialog: ::std::option::Option<
1477 unsafe extern "C" fn(
1478 hwnd: root::HWND,
1479 section: *mut root::KbdSectionInfo,
1480 cmdID: ::std::os::raw::c_int,
1481 shortcutidx: ::std::os::raw::c_int,
1482 ) -> bool,
1483 >;
1484 }
1485 extern "C" {
1486 #[link_name = "\u{1}_ZN16reaper_functions17Dock_UpdateDockIDE"]
1487 pub static mut Dock_UpdateDockID: ::std::option::Option<
1488 unsafe extern "C" fn(
1489 ident_str: *const ::std::os::raw::c_char,
1490 whichDock: ::std::os::raw::c_int,
1491 ),
1492 >;
1493 }
1494 extern "C" {
1495 #[link_name = "\u{1}_ZN16reaper_functions15DockGetPositionE"]
1496 pub static mut DockGetPosition: ::std::option::Option<
1497 unsafe extern "C" fn(whichDock: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
1498 >;
1499 }
1500 extern "C" {
1501 #[link_name = "\u{1}_ZN16reaper_functions17DockIsChildOfDockE"]
1502 pub static mut DockIsChildOfDock: ::std::option::Option<
1503 unsafe extern "C" fn(
1504 hwnd: root::HWND,
1505 isFloatingDockerOut: *mut bool,
1506 ) -> ::std::os::raw::c_int,
1507 >;
1508 }
1509 extern "C" {
1510 #[link_name = "\u{1}_ZN16reaper_functions18DockWindowActivateE"]
1511 pub static mut DockWindowActivate:
1512 ::std::option::Option<unsafe extern "C" fn(hwnd: root::HWND)>;
1513 }
1514 extern "C" {
1515 #[link_name = "\u{1}_ZN16reaper_functions13DockWindowAddE"]
1516 pub static mut DockWindowAdd: ::std::option::Option<
1517 unsafe extern "C" fn(
1518 hwnd: root::HWND,
1519 name: *const ::std::os::raw::c_char,
1520 pos: ::std::os::raw::c_int,
1521 allowShow: bool,
1522 ),
1523 >;
1524 }
1525 extern "C" {
1526 #[link_name = "\u{1}_ZN16reaper_functions15DockWindowAddExE"]
1527 pub static mut DockWindowAddEx: ::std::option::Option<
1528 unsafe extern "C" fn(
1529 hwnd: root::HWND,
1530 name: *const ::std::os::raw::c_char,
1531 identstr: *const ::std::os::raw::c_char,
1532 allowShow: bool,
1533 ),
1534 >;
1535 }
1536 extern "C" {
1537 #[link_name = "\u{1}_ZN16reaper_functions17DockWindowRefreshE"]
1538 pub static mut DockWindowRefresh: ::std::option::Option<unsafe extern "C" fn()>;
1539 }
1540 extern "C" {
1541 #[link_name = "\u{1}_ZN16reaper_functions24DockWindowRefreshForHWNDE"]
1542 pub static mut DockWindowRefreshForHWND:
1543 ::std::option::Option<unsafe extern "C" fn(hwnd: root::HWND)>;
1544 }
1545 extern "C" {
1546 #[link_name = "\u{1}_ZN16reaper_functions16DockWindowRemoveE"]
1547 pub static mut DockWindowRemove:
1548 ::std::option::Option<unsafe extern "C" fn(hwnd: root::HWND)>;
1549 }
1550 extern "C" {
1551 #[link_name = "\u{1}_ZN16reaper_functions25DuplicateCustomizableMenuE"]
1552 pub static mut DuplicateCustomizableMenu: ::std::option::Option<
1553 unsafe extern "C" fn(
1554 srcmenu: *mut ::std::os::raw::c_void,
1555 destmenu: *mut ::std::os::raw::c_void,
1556 ) -> bool,
1557 >;
1558 }
1559 extern "C" {
1560 #[link_name = "\u{1}_ZN16reaper_functions22EditTempoTimeSigMarkerE"]
1561 pub static mut EditTempoTimeSigMarker: ::std::option::Option<
1562 unsafe extern "C" fn(
1563 project: *mut root::ReaProject,
1564 markerindex: ::std::os::raw::c_int,
1565 ) -> bool,
1566 >;
1567 }
1568 extern "C" {
1569 #[link_name = "\u{1}_ZN16reaper_functions28EnsureNotCompletelyOffscreenE"]
1570 pub static mut EnsureNotCompletelyOffscreen:
1571 ::std::option::Option<unsafe extern "C" fn(rInOut: *mut root::RECT)>;
1572 }
1573 extern "C" {
1574 #[link_name = "\u{1}_ZN16reaper_functions14EnumerateFilesE"]
1575 pub static mut EnumerateFiles: ::std::option::Option<
1576 unsafe extern "C" fn(
1577 path: *const ::std::os::raw::c_char,
1578 fileindex: ::std::os::raw::c_int,
1579 ) -> *const ::std::os::raw::c_char,
1580 >;
1581 }
1582 extern "C" {
1583 #[link_name = "\u{1}_ZN16reaper_functions23EnumerateSubdirectoriesE"]
1584 pub static mut EnumerateSubdirectories: ::std::option::Option<
1585 unsafe extern "C" fn(
1586 path: *const ::std::os::raw::c_char,
1587 subdirindex: ::std::os::raw::c_int,
1588 ) -> *const ::std::os::raw::c_char,
1589 >;
1590 }
1591 extern "C" {
1592 #[link_name = "\u{1}_ZN16reaper_functions19EnumPitchShiftModesE"]
1593 pub static mut EnumPitchShiftModes: ::std::option::Option<
1594 unsafe extern "C" fn(
1595 mode: ::std::os::raw::c_int,
1596 strOut: *mut *const ::std::os::raw::c_char,
1597 ) -> bool,
1598 >;
1599 }
1600 extern "C" {
1601 #[link_name = "\u{1}_ZN16reaper_functions22EnumPitchShiftSubModesE"]
1602 pub static mut EnumPitchShiftSubModes: ::std::option::Option<
1603 unsafe extern "C" fn(
1604 mode: ::std::os::raw::c_int,
1605 submode: ::std::os::raw::c_int,
1606 ) -> *const ::std::os::raw::c_char,
1607 >;
1608 }
1609 extern "C" {
1610 #[link_name = "\u{1}_ZN16reaper_functions18EnumProjectMarkersE"]
1611 pub static mut EnumProjectMarkers: ::std::option::Option<
1612 unsafe extern "C" fn(
1613 idx: ::std::os::raw::c_int,
1614 isrgnOut: *mut bool,
1615 posOut: *mut f64,
1616 rgnendOut: *mut f64,
1617 nameOut: *mut *const ::std::os::raw::c_char,
1618 markrgnindexnumberOut: *mut ::std::os::raw::c_int,
1619 ) -> ::std::os::raw::c_int,
1620 >;
1621 }
1622 extern "C" {
1623 #[link_name = "\u{1}_ZN16reaper_functions19EnumProjectMarkers2E"]
1624 pub static mut EnumProjectMarkers2: ::std::option::Option<
1625 unsafe extern "C" fn(
1626 proj: *mut root::ReaProject,
1627 idx: ::std::os::raw::c_int,
1628 isrgnOut: *mut bool,
1629 posOut: *mut f64,
1630 rgnendOut: *mut f64,
1631 nameOut: *mut *const ::std::os::raw::c_char,
1632 markrgnindexnumberOut: *mut ::std::os::raw::c_int,
1633 ) -> ::std::os::raw::c_int,
1634 >;
1635 }
1636 extern "C" {
1637 #[link_name = "\u{1}_ZN16reaper_functions19EnumProjectMarkers3E"]
1638 pub static mut EnumProjectMarkers3: ::std::option::Option<
1639 unsafe extern "C" fn(
1640 proj: *mut root::ReaProject,
1641 idx: ::std::os::raw::c_int,
1642 isrgnOut: *mut bool,
1643 posOut: *mut f64,
1644 rgnendOut: *mut f64,
1645 nameOut: *mut *const ::std::os::raw::c_char,
1646 markrgnindexnumberOut: *mut ::std::os::raw::c_int,
1647 colorOut: *mut ::std::os::raw::c_int,
1648 ) -> ::std::os::raw::c_int,
1649 >;
1650 }
1651 extern "C" {
1652 #[link_name = "\u{1}_ZN16reaper_functions12EnumProjectsE"]
1653 pub static mut EnumProjects: ::std::option::Option<
1654 unsafe extern "C" fn(
1655 idx: ::std::os::raw::c_int,
1656 projfnOutOptional: *mut ::std::os::raw::c_char,
1657 projfnOutOptional_sz: ::std::os::raw::c_int,
1658 ) -> *mut root::ReaProject,
1659 >;
1660 }
1661 extern "C" {
1662 #[link_name = "\u{1}_ZN16reaper_functions16EnumProjExtStateE"]
1663 pub static mut EnumProjExtState: ::std::option::Option<
1664 unsafe extern "C" fn(
1665 proj: *mut root::ReaProject,
1666 extname: *const ::std::os::raw::c_char,
1667 idx: ::std::os::raw::c_int,
1668 keyOutOptional: *mut ::std::os::raw::c_char,
1669 keyOutOptional_sz: ::std::os::raw::c_int,
1670 valOutOptional: *mut ::std::os::raw::c_char,
1671 valOutOptional_sz: ::std::os::raw::c_int,
1672 ) -> bool,
1673 >;
1674 }
1675 extern "C" {
1676 #[link_name = "\u{1}_ZN16reaper_functions22EnumRegionRenderMatrixE"]
1677 pub static mut EnumRegionRenderMatrix: ::std::option::Option<
1678 unsafe extern "C" fn(
1679 proj: *mut root::ReaProject,
1680 regionindex: ::std::os::raw::c_int,
1681 rendertrack: ::std::os::raw::c_int,
1682 ) -> *mut root::MediaTrack,
1683 >;
1684 }
1685 extern "C" {
1686 #[link_name = "\u{1}_ZN16reaper_functions25EnumTrackMIDIProgramNamesE"]
1687 pub static mut EnumTrackMIDIProgramNames: ::std::option::Option<
1688 unsafe extern "C" fn(
1689 track: ::std::os::raw::c_int,
1690 programNumber: ::std::os::raw::c_int,
1691 programName: *mut ::std::os::raw::c_char,
1692 programName_sz: ::std::os::raw::c_int,
1693 ) -> bool,
1694 >;
1695 }
1696 extern "C" {
1697 #[link_name = "\u{1}_ZN16reaper_functions27EnumTrackMIDIProgramNamesExE"]
1698 pub static mut EnumTrackMIDIProgramNamesEx: ::std::option::Option<
1699 unsafe extern "C" fn(
1700 proj: *mut root::ReaProject,
1701 track: *mut root::MediaTrack,
1702 programNumber: ::std::os::raw::c_int,
1703 programName: *mut ::std::os::raw::c_char,
1704 programName_sz: ::std::os::raw::c_int,
1705 ) -> bool,
1706 >;
1707 }
1708 extern "C" {
1709 #[link_name = "\u{1}_ZN16reaper_functions17Envelope_EvaluateE"]
1710 pub static mut Envelope_Evaluate: ::std::option::Option<
1711 unsafe extern "C" fn(
1712 envelope: *mut root::TrackEnvelope,
1713 time: f64,
1714 samplerate: f64,
1715 samplesRequested: ::std::os::raw::c_int,
1716 valueOutOptional: *mut f64,
1717 dVdSOutOptional: *mut f64,
1718 ddVdSOutOptional: *mut f64,
1719 dddVdSOutOptional: *mut f64,
1720 ) -> ::std::os::raw::c_int,
1721 >;
1722 }
1723 extern "C" {
1724 #[link_name = "\u{1}_ZN16reaper_functions20Envelope_FormatValueE"]
1725 pub static mut Envelope_FormatValue: ::std::option::Option<
1726 unsafe extern "C" fn(
1727 env: *mut root::TrackEnvelope,
1728 value: f64,
1729 bufOut: *mut ::std::os::raw::c_char,
1730 bufOut_sz: ::std::os::raw::c_int,
1731 ),
1732 >;
1733 }
1734 extern "C" {
1735 #[link_name = "\u{1}_ZN16reaper_functions22Envelope_GetParentTakeE"]
1736 pub static mut Envelope_GetParentTake: ::std::option::Option<
1737 unsafe extern "C" fn(
1738 env: *mut root::TrackEnvelope,
1739 indexOutOptional: *mut ::std::os::raw::c_int,
1740 index2OutOptional: *mut ::std::os::raw::c_int,
1741 ) -> *mut root::MediaItem_Take,
1742 >;
1743 }
1744 extern "C" {
1745 #[link_name = "\u{1}_ZN16reaper_functions23Envelope_GetParentTrackE"]
1746 pub static mut Envelope_GetParentTrack: ::std::option::Option<
1747 unsafe extern "C" fn(
1748 env: *mut root::TrackEnvelope,
1749 indexOutOptional: *mut ::std::os::raw::c_int,
1750 index2OutOptional: *mut ::std::os::raw::c_int,
1751 ) -> *mut root::MediaTrack,
1752 >;
1753 }
1754 extern "C" {
1755 #[link_name = "\u{1}_ZN16reaper_functions19Envelope_SortPointsE"]
1756 pub static mut Envelope_SortPoints: ::std::option::Option<
1757 unsafe extern "C" fn(envelope: *mut root::TrackEnvelope) -> bool,
1758 >;
1759 }
1760 extern "C" {
1761 #[link_name = "\u{1}_ZN16reaper_functions21Envelope_SortPointsExE"]
1762 pub static mut Envelope_SortPointsEx: ::std::option::Option<
1763 unsafe extern "C" fn(
1764 envelope: *mut root::TrackEnvelope,
1765 autoitem_idx: ::std::os::raw::c_int,
1766 ) -> bool,
1767 >;
1768 }
1769 extern "C" {
1770 #[link_name = "\u{1}_ZN16reaper_functions11ExecProcessE"]
1771 pub static mut ExecProcess: ::std::option::Option<
1772 unsafe extern "C" fn(
1773 cmdline: *const ::std::os::raw::c_char,
1774 timeoutmsec: ::std::os::raw::c_int,
1775 ) -> *const ::std::os::raw::c_char,
1776 >;
1777 }
1778 extern "C" {
1779 #[link_name = "\u{1}_ZN16reaper_functions11file_existsE"]
1780 pub static mut file_exists: ::std::option::Option<
1781 unsafe extern "C" fn(path: *const ::std::os::raw::c_char) -> bool,
1782 >;
1783 }
1784 extern "C" {
1785 #[link_name = "\u{1}_ZN16reaper_functions22FindTempoTimeSigMarkerE"]
1786 pub static mut FindTempoTimeSigMarker: ::std::option::Option<
1787 unsafe extern "C" fn(
1788 project: *mut root::ReaProject,
1789 time: f64,
1790 ) -> ::std::os::raw::c_int,
1791 >;
1792 }
1793 extern "C" {
1794 #[link_name = "\u{1}_ZN16reaper_functions14format_timestrE"]
1795 pub static mut format_timestr: ::std::option::Option<
1796 unsafe extern "C" fn(
1797 tpos: f64,
1798 buf: *mut ::std::os::raw::c_char,
1799 buf_sz: ::std::os::raw::c_int,
1800 ),
1801 >;
1802 }
1803 extern "C" {
1804 #[link_name = "\u{1}_ZN16reaper_functions18format_timestr_lenE"]
1805 pub static mut format_timestr_len: ::std::option::Option<
1806 unsafe extern "C" fn(
1807 tpos: f64,
1808 buf: *mut ::std::os::raw::c_char,
1809 buf_sz: ::std::os::raw::c_int,
1810 offset: f64,
1811 modeoverride: ::std::os::raw::c_int,
1812 ),
1813 >;
1814 }
1815 extern "C" {
1816 #[link_name = "\u{1}_ZN16reaper_functions18format_timestr_posE"]
1817 pub static mut format_timestr_pos: ::std::option::Option<
1818 unsafe extern "C" fn(
1819 tpos: f64,
1820 buf: *mut ::std::os::raw::c_char,
1821 buf_sz: ::std::os::raw::c_int,
1822 modeoverride: ::std::os::raw::c_int,
1823 ),
1824 >;
1825 }
1826 extern "C" {
1827 #[link_name = "\u{1}_ZN16reaper_functions11FreeHeapPtrE"]
1828 pub static mut FreeHeapPtr:
1829 ::std::option::Option<unsafe extern "C" fn(ptr: *mut ::std::os::raw::c_void)>;
1830 }
1831 extern "C" {
1832 #[link_name = "\u{1}_ZN16reaper_functions7genGuidE"]
1833 pub static mut genGuid: ::std::option::Option<unsafe extern "C" fn(g: *mut root::GUID)>;
1834 }
1835 extern "C" {
1836 #[link_name = "\u{1}_ZN16reaper_functions14get_config_varE"]
1837 pub static mut get_config_var: ::std::option::Option<
1838 unsafe extern "C" fn(
1839 name: *const ::std::os::raw::c_char,
1840 szOut: *mut ::std::os::raw::c_int,
1841 ) -> *mut ::std::os::raw::c_void,
1842 >;
1843 }
1844 extern "C" {
1845 #[link_name = "\u{1}_ZN16reaper_functions21get_config_var_stringE"]
1846 pub static mut get_config_var_string: ::std::option::Option<
1847 unsafe extern "C" fn(
1848 name: *const ::std::os::raw::c_char,
1849 bufOut: *mut ::std::os::raw::c_char,
1850 bufOut_sz: ::std::os::raw::c_int,
1851 ) -> bool,
1852 >;
1853 }
1854 extern "C" {
1855 #[link_name = "\u{1}_ZN16reaper_functions12get_ini_fileE"]
1856 pub static mut get_ini_file:
1857 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
1858 }
1859 extern "C" {
1860 #[link_name = "\u{1}_ZN16reaper_functions19get_midi_config_varE"]
1861 pub static mut get_midi_config_var: ::std::option::Option<
1862 unsafe extern "C" fn(
1863 name: *const ::std::os::raw::c_char,
1864 szOut: *mut ::std::os::raw::c_int,
1865 ) -> *mut ::std::os::raw::c_void,
1866 >;
1867 }
1868 extern "C" {
1869 #[link_name = "\u{1}_ZN16reaper_functions21GetActionShortcutDescE"]
1870 pub static mut GetActionShortcutDesc: ::std::option::Option<
1871 unsafe extern "C" fn(
1872 section: *mut root::KbdSectionInfo,
1873 cmdID: ::std::os::raw::c_int,
1874 shortcutidx: ::std::os::raw::c_int,
1875 desc: *mut ::std::os::raw::c_char,
1876 desclen: ::std::os::raw::c_int,
1877 ) -> bool,
1878 >;
1879 }
1880 extern "C" {
1881 #[link_name = "\u{1}_ZN16reaper_functions13GetActiveTakeE"]
1882 pub static mut GetActiveTake: ::std::option::Option<
1883 unsafe extern "C" fn(item: *mut root::MediaItem) -> *mut root::MediaItem_Take,
1884 >;
1885 }
1886 extern "C" {
1887 #[link_name = "\u{1}_ZN16reaper_functions23GetAllProjectPlayStatesE"]
1888 pub static mut GetAllProjectPlayStates: ::std::option::Option<
1889 unsafe extern "C" fn(ignoreProject: *mut root::ReaProject) -> ::std::os::raw::c_int,
1890 >;
1891 }
1892 extern "C" {
1893 #[link_name = "\u{1}_ZN16reaper_functions13GetAppVersionE"]
1894 pub static mut GetAppVersion:
1895 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
1896 }
1897 extern "C" {
1898 #[link_name = "\u{1}_ZN16reaper_functions15GetArmedCommandE"]
1899 pub static mut GetArmedCommand: ::std::option::Option<
1900 unsafe extern "C" fn(
1901 secOut: *mut ::std::os::raw::c_char,
1902 secOut_sz: ::std::os::raw::c_int,
1903 ) -> ::std::os::raw::c_int,
1904 >;
1905 }
1906 extern "C" {
1907 #[link_name = "\u{1}_ZN16reaper_functions23GetAudioAccessorEndTimeE"]
1908 pub static mut GetAudioAccessorEndTime: ::std::option::Option<
1909 unsafe extern "C" fn(accessor: *mut root::reaper_functions::AudioAccessor) -> f64,
1910 >;
1911 }
1912 extern "C" {
1913 #[link_name = "\u{1}_ZN16reaper_functions20GetAudioAccessorHashE"]
1914 pub static mut GetAudioAccessorHash: ::std::option::Option<
1915 unsafe extern "C" fn(
1916 accessor: *mut root::reaper_functions::AudioAccessor,
1917 hashNeed128: *mut ::std::os::raw::c_char,
1918 ),
1919 >;
1920 }
1921 extern "C" {
1922 #[link_name = "\u{1}_ZN16reaper_functions23GetAudioAccessorSamplesE"]
1923 pub static mut GetAudioAccessorSamples: ::std::option::Option<
1924 unsafe extern "C" fn(
1925 accessor: *mut root::reaper_functions::AudioAccessor,
1926 samplerate: ::std::os::raw::c_int,
1927 numchannels: ::std::os::raw::c_int,
1928 starttime_sec: f64,
1929 numsamplesperchannel: ::std::os::raw::c_int,
1930 samplebuffer: *mut f64,
1931 ) -> ::std::os::raw::c_int,
1932 >;
1933 }
1934 extern "C" {
1935 #[link_name = "\u{1}_ZN16reaper_functions25GetAudioAccessorStartTimeE"]
1936 pub static mut GetAudioAccessorStartTime: ::std::option::Option<
1937 unsafe extern "C" fn(accessor: *mut root::reaper_functions::AudioAccessor) -> f64,
1938 >;
1939 }
1940 extern "C" {
1941 #[link_name = "\u{1}_ZN16reaper_functions18GetAudioDeviceInfoE"]
1942 pub static mut GetAudioDeviceInfo: ::std::option::Option<
1943 unsafe extern "C" fn(
1944 attribute: *const ::std::os::raw::c_char,
1945 desc: *mut ::std::os::raw::c_char,
1946 desc_sz: ::std::os::raw::c_int,
1947 ) -> bool,
1948 >;
1949 }
1950 extern "C" {
1951 #[link_name = "\u{1}_ZN16reaper_functions13GetColorThemeE"]
1952 pub static mut GetColorTheme: ::std::option::Option<
1953 unsafe extern "C" fn(
1954 idx: ::std::os::raw::c_int,
1955 defval: ::std::os::raw::c_int,
1956 ) -> root::INT_PTR,
1957 >;
1958 }
1959 extern "C" {
1960 #[link_name = "\u{1}_ZN16reaper_functions19GetColorThemeStructE"]
1961 pub static mut GetColorThemeStruct: ::std::option::Option<
1962 unsafe extern "C" fn(
1963 szOut: *mut ::std::os::raw::c_int,
1964 ) -> *mut ::std::os::raw::c_void,
1965 >;
1966 }
1967 extern "C" {
1968 #[link_name = "\u{1}_ZN16reaper_functions18GetConfigWantsDockE"]
1969 pub static mut GetConfigWantsDock: ::std::option::Option<
1970 unsafe extern "C" fn(
1971 ident_str: *const ::std::os::raw::c_char,
1972 ) -> ::std::os::raw::c_int,
1973 >;
1974 }
1975 extern "C" {
1976 #[link_name = "\u{1}_ZN16reaper_functions14GetContextMenuE"]
1977 pub static mut GetContextMenu: ::std::option::Option<
1978 unsafe extern "C" fn(idx: ::std::os::raw::c_int) -> root::HMENU,
1979 >;
1980 }
1981 extern "C" {
1982 #[link_name = "\u{1}_ZN16reaper_functions27GetCurrentProjectInLoadSaveE"]
1983 pub static mut GetCurrentProjectInLoadSave:
1984 ::std::option::Option<unsafe extern "C" fn() -> *mut root::ReaProject>;
1985 }
1986 extern "C" {
1987 #[link_name = "\u{1}_ZN16reaper_functions16GetCursorContextE"]
1988 pub static mut GetCursorContext:
1989 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
1990 }
1991 extern "C" {
1992 #[link_name = "\u{1}_ZN16reaper_functions17GetCursorContext2E"]
1993 pub static mut GetCursorContext2: ::std::option::Option<
1994 unsafe extern "C" fn(want_last_valid: bool) -> ::std::os::raw::c_int,
1995 >;
1996 }
1997 extern "C" {
1998 #[link_name = "\u{1}_ZN16reaper_functions17GetCursorPositionE"]
1999 pub static mut GetCursorPosition: ::std::option::Option<unsafe extern "C" fn() -> f64>;
2000 }
2001 extern "C" {
2002 #[link_name = "\u{1}_ZN16reaper_functions19GetCursorPositionExE"]
2003 pub static mut GetCursorPositionEx:
2004 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject) -> f64>;
2005 }
2006 extern "C" {
2007 #[link_name = "\u{1}_ZN16reaper_functions26GetDisplayedMediaItemColorE"]
2008 pub static mut GetDisplayedMediaItemColor: ::std::option::Option<
2009 unsafe extern "C" fn(item: *mut root::MediaItem) -> ::std::os::raw::c_int,
2010 >;
2011 }
2012 extern "C" {
2013 #[link_name = "\u{1}_ZN16reaper_functions27GetDisplayedMediaItemColor2E"]
2014 pub static mut GetDisplayedMediaItemColor2: ::std::option::Option<
2015 unsafe extern "C" fn(
2016 item: *mut root::MediaItem,
2017 take: *mut root::MediaItem_Take,
2018 ) -> ::std::os::raw::c_int,
2019 >;
2020 }
2021 extern "C" {
2022 #[link_name = "\u{1}_ZN16reaper_functions21GetEnvelopeInfo_ValueE"]
2023 pub static mut GetEnvelopeInfo_Value: ::std::option::Option<
2024 unsafe extern "C" fn(
2025 tr: *mut root::TrackEnvelope,
2026 parmname: *const ::std::os::raw::c_char,
2027 ) -> f64,
2028 >;
2029 }
2030 extern "C" {
2031 #[link_name = "\u{1}_ZN16reaper_functions15GetEnvelopeNameE"]
2032 pub static mut GetEnvelopeName: ::std::option::Option<
2033 unsafe extern "C" fn(
2034 env: *mut root::TrackEnvelope,
2035 bufOut: *mut ::std::os::raw::c_char,
2036 bufOut_sz: ::std::os::raw::c_int,
2037 ) -> bool,
2038 >;
2039 }
2040 extern "C" {
2041 #[link_name = "\u{1}_ZN16reaper_functions16GetEnvelopePointE"]
2042 pub static mut GetEnvelopePoint: ::std::option::Option<
2043 unsafe extern "C" fn(
2044 envelope: *mut root::TrackEnvelope,
2045 ptidx: ::std::os::raw::c_int,
2046 timeOutOptional: *mut f64,
2047 valueOutOptional: *mut f64,
2048 shapeOutOptional: *mut ::std::os::raw::c_int,
2049 tensionOutOptional: *mut f64,
2050 selectedOutOptional: *mut bool,
2051 ) -> bool,
2052 >;
2053 }
2054 extern "C" {
2055 #[link_name = "\u{1}_ZN16reaper_functions22GetEnvelopePointByTimeE"]
2056 pub static mut GetEnvelopePointByTime: ::std::option::Option<
2057 unsafe extern "C" fn(
2058 envelope: *mut root::TrackEnvelope,
2059 time: f64,
2060 ) -> ::std::os::raw::c_int,
2061 >;
2062 }
2063 extern "C" {
2064 #[link_name = "\u{1}_ZN16reaper_functions24GetEnvelopePointByTimeExE"]
2065 pub static mut GetEnvelopePointByTimeEx: ::std::option::Option<
2066 unsafe extern "C" fn(
2067 envelope: *mut root::TrackEnvelope,
2068 autoitem_idx: ::std::os::raw::c_int,
2069 time: f64,
2070 ) -> ::std::os::raw::c_int,
2071 >;
2072 }
2073 extern "C" {
2074 #[link_name = "\u{1}_ZN16reaper_functions18GetEnvelopePointExE"]
2075 pub static mut GetEnvelopePointEx: ::std::option::Option<
2076 unsafe extern "C" fn(
2077 envelope: *mut root::TrackEnvelope,
2078 autoitem_idx: ::std::os::raw::c_int,
2079 ptidx: ::std::os::raw::c_int,
2080 timeOutOptional: *mut f64,
2081 valueOutOptional: *mut f64,
2082 shapeOutOptional: *mut ::std::os::raw::c_int,
2083 tensionOutOptional: *mut f64,
2084 selectedOutOptional: *mut bool,
2085 ) -> bool,
2086 >;
2087 }
2088 extern "C" {
2089 #[link_name = "\u{1}_ZN16reaper_functions22GetEnvelopeScalingModeE"]
2090 pub static mut GetEnvelopeScalingMode: ::std::option::Option<
2091 unsafe extern "C" fn(env: *mut root::TrackEnvelope) -> ::std::os::raw::c_int,
2092 >;
2093 }
2094 extern "C" {
2095 #[link_name = "\u{1}_ZN16reaper_functions21GetEnvelopeStateChunkE"]
2096 pub static mut GetEnvelopeStateChunk: ::std::option::Option<
2097 unsafe extern "C" fn(
2098 env: *mut root::TrackEnvelope,
2099 strNeedBig: *mut ::std::os::raw::c_char,
2100 strNeedBig_sz: ::std::os::raw::c_int,
2101 isundoOptional: bool,
2102 ) -> bool,
2103 >;
2104 }
2105 extern "C" {
2106 #[link_name = "\u{1}_ZN16reaper_functions10GetExePathE"]
2107 pub static mut GetExePath:
2108 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
2109 }
2110 extern "C" {
2111 #[link_name = "\u{1}_ZN16reaper_functions11GetExtStateE"]
2112 pub static mut GetExtState: ::std::option::Option<
2113 unsafe extern "C" fn(
2114 section: *const ::std::os::raw::c_char,
2115 key: *const ::std::os::raw::c_char,
2116 ) -> *const ::std::os::raw::c_char,
2117 >;
2118 }
2119 extern "C" {
2120 #[link_name = "\u{1}_ZN16reaper_functions12GetFocusedFXE"]
2121 pub static mut GetFocusedFX: ::std::option::Option<
2122 unsafe extern "C" fn(
2123 tracknumberOut: *mut ::std::os::raw::c_int,
2124 itemnumberOut: *mut ::std::os::raw::c_int,
2125 fxnumberOut: *mut ::std::os::raw::c_int,
2126 ) -> ::std::os::raw::c_int,
2127 >;
2128 }
2129 extern "C" {
2130 #[link_name = "\u{1}_ZN16reaper_functions29GetFreeDiskSpaceForRecordPathE"]
2131 pub static mut GetFreeDiskSpaceForRecordPath: ::std::option::Option<
2132 unsafe extern "C" fn(
2133 proj: *mut root::ReaProject,
2134 pathidx: ::std::os::raw::c_int,
2135 ) -> ::std::os::raw::c_int,
2136 >;
2137 }
2138 extern "C" {
2139 #[link_name = "\u{1}_ZN16reaper_functions13GetFXEnvelopeE"]
2140 pub static mut GetFXEnvelope: ::std::option::Option<
2141 unsafe extern "C" fn(
2142 track: *mut root::MediaTrack,
2143 fxindex: ::std::os::raw::c_int,
2144 parameterindex: ::std::os::raw::c_int,
2145 create: bool,
2146 ) -> *mut root::TrackEnvelope,
2147 >;
2148 }
2149 extern "C" {
2150 #[link_name = "\u{1}_ZN16reaper_functions27GetGlobalAutomationOverrideE"]
2151 pub static mut GetGlobalAutomationOverride:
2152 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2153 }
2154 extern "C" {
2155 #[link_name = "\u{1}_ZN16reaper_functions13GetHZoomLevelE"]
2156 pub static mut GetHZoomLevel: ::std::option::Option<unsafe extern "C" fn() -> f64>;
2157 }
2158 extern "C" {
2159 #[link_name = "\u{1}_ZN16reaper_functions19GetIconThemePointerE"]
2160 pub static mut GetIconThemePointer: ::std::option::Option<
2161 unsafe extern "C" fn(
2162 name: *const ::std::os::raw::c_char,
2163 ) -> *mut ::std::os::raw::c_void,
2164 >;
2165 }
2166 extern "C" {
2167 #[link_name = "\u{1}_ZN16reaper_functions25GetIconThemePointerForDPIE"]
2168 pub static mut GetIconThemePointerForDPI: ::std::option::Option<
2169 unsafe extern "C" fn(
2170 name: *const ::std::os::raw::c_char,
2171 dpisc: ::std::os::raw::c_int,
2172 ) -> *mut ::std::os::raw::c_void,
2173 >;
2174 }
2175 extern "C" {
2176 #[link_name = "\u{1}_ZN16reaper_functions18GetIconThemeStructE"]
2177 pub static mut GetIconThemeStruct: ::std::option::Option<
2178 unsafe extern "C" fn(
2179 szOut: *mut ::std::os::raw::c_int,
2180 ) -> *mut ::std::os::raw::c_void,
2181 >;
2182 }
2183 extern "C" {
2184 #[link_name = "\u{1}_ZN16reaper_functions19GetInputChannelNameE"]
2185 pub static mut GetInputChannelName: ::std::option::Option<
2186 unsafe extern "C" fn(
2187 channelIndex: ::std::os::raw::c_int,
2188 ) -> *const ::std::os::raw::c_char,
2189 >;
2190 }
2191 extern "C" {
2192 #[link_name = "\u{1}_ZN16reaper_functions21GetInputOutputLatencyE"]
2193 pub static mut GetInputOutputLatency: ::std::option::Option<
2194 unsafe extern "C" fn(
2195 inputlatencyOut: *mut ::std::os::raw::c_int,
2196 outputLatencyOut: *mut ::std::os::raw::c_int,
2197 ),
2198 >;
2199 }
2200 extern "C" {
2201 #[link_name = "\u{1}_ZN16reaper_functions19GetItemEditingTime2E"]
2202 pub static mut GetItemEditingTime2: ::std::option::Option<
2203 unsafe extern "C" fn(
2204 which_itemOut: *mut *mut root::PCM_source,
2205 flagsOut: *mut ::std::os::raw::c_int,
2206 ) -> f64,
2207 >;
2208 }
2209 extern "C" {
2210 #[link_name = "\u{1}_ZN16reaper_functions16GetItemFromPointE"]
2211 pub static mut GetItemFromPoint: ::std::option::Option<
2212 unsafe extern "C" fn(
2213 screen_x: ::std::os::raw::c_int,
2214 screen_y: ::std::os::raw::c_int,
2215 allow_locked: bool,
2216 takeOutOptional: *mut *mut root::MediaItem_Take,
2217 ) -> *mut root::MediaItem,
2218 >;
2219 }
2220 extern "C" {
2221 #[link_name = "\u{1}_ZN16reaper_functions21GetItemProjectContextE"]
2222 pub static mut GetItemProjectContext: ::std::option::Option<
2223 unsafe extern "C" fn(item: *mut root::MediaItem) -> *mut root::ReaProject,
2224 >;
2225 }
2226 extern "C" {
2227 #[link_name = "\u{1}_ZN16reaper_functions17GetItemStateChunkE"]
2228 pub static mut GetItemStateChunk: ::std::option::Option<
2229 unsafe extern "C" fn(
2230 item: *mut root::MediaItem,
2231 strNeedBig: *mut ::std::os::raw::c_char,
2232 strNeedBig_sz: ::std::os::raw::c_int,
2233 isundoOptional: bool,
2234 ) -> bool,
2235 >;
2236 }
2237 extern "C" {
2238 #[link_name = "\u{1}_ZN16reaper_functions21GetLastColorThemeFileE"]
2239 pub static mut GetLastColorThemeFile:
2240 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
2241 }
2242 extern "C" {
2243 #[link_name = "\u{1}_ZN16reaper_functions25GetLastMarkerAndCurRegionE"]
2244 pub static mut GetLastMarkerAndCurRegion: ::std::option::Option<
2245 unsafe extern "C" fn(
2246 proj: *mut root::ReaProject,
2247 time: f64,
2248 markeridxOut: *mut ::std::os::raw::c_int,
2249 regionidxOut: *mut ::std::os::raw::c_int,
2250 ),
2251 >;
2252 }
2253 extern "C" {
2254 #[link_name = "\u{1}_ZN16reaper_functions16GetLastTouchedFXE"]
2255 pub static mut GetLastTouchedFX: ::std::option::Option<
2256 unsafe extern "C" fn(
2257 tracknumberOut: *mut ::std::os::raw::c_int,
2258 fxnumberOut: *mut ::std::os::raw::c_int,
2259 paramnumberOut: *mut ::std::os::raw::c_int,
2260 ) -> bool,
2261 >;
2262 }
2263 extern "C" {
2264 #[link_name = "\u{1}_ZN16reaper_functions19GetLastTouchedTrackE"]
2265 pub static mut GetLastTouchedTrack:
2266 ::std::option::Option<unsafe extern "C" fn() -> *mut root::MediaTrack>;
2267 }
2268 extern "C" {
2269 #[link_name = "\u{1}_ZN16reaper_functions11GetMainHwndE"]
2270 pub static mut GetMainHwnd: ::std::option::Option<unsafe extern "C" fn() -> root::HWND>;
2271 }
2272 extern "C" {
2273 #[link_name = "\u{1}_ZN16reaper_functions22GetMasterMuteSoloFlagsE"]
2274 pub static mut GetMasterMuteSoloFlags:
2275 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2276 }
2277 extern "C" {
2278 #[link_name = "\u{1}_ZN16reaper_functions14GetMasterTrackE"]
2279 pub static mut GetMasterTrack: ::std::option::Option<
2280 unsafe extern "C" fn(proj: *mut root::ReaProject) -> *mut root::MediaTrack,
2281 >;
2282 }
2283 extern "C" {
2284 #[link_name = "\u{1}_ZN16reaper_functions24GetMasterTrackVisibilityE"]
2285 pub static mut GetMasterTrackVisibility:
2286 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2287 }
2288 extern "C" {
2289 #[link_name = "\u{1}_ZN16reaper_functions16GetMaxMidiInputsE"]
2290 pub static mut GetMaxMidiInputs:
2291 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2292 }
2293 extern "C" {
2294 #[link_name = "\u{1}_ZN16reaper_functions17GetMaxMidiOutputsE"]
2295 pub static mut GetMaxMidiOutputs:
2296 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2297 }
2298 extern "C" {
2299 #[link_name = "\u{1}_ZN16reaper_functions12GetMediaItemE"]
2300 pub static mut GetMediaItem: ::std::option::Option<
2301 unsafe extern "C" fn(
2302 proj: *mut root::ReaProject,
2303 itemidx: ::std::os::raw::c_int,
2304 ) -> *mut root::MediaItem,
2305 >;
2306 }
2307 extern "C" {
2308 #[link_name = "\u{1}_ZN16reaper_functions18GetMediaItem_TrackE"]
2309 pub static mut GetMediaItem_Track: ::std::option::Option<
2310 unsafe extern "C" fn(item: *mut root::MediaItem) -> *mut root::MediaTrack,
2311 >;
2312 }
2313 extern "C" {
2314 #[link_name = "\u{1}_ZN16reaper_functions22GetMediaItemInfo_ValueE"]
2315 pub static mut GetMediaItemInfo_Value: ::std::option::Option<
2316 unsafe extern "C" fn(
2317 item: *mut root::MediaItem,
2318 parmname: *const ::std::os::raw::c_char,
2319 ) -> f64,
2320 >;
2321 }
2322 extern "C" {
2323 #[link_name = "\u{1}_ZN16reaper_functions20GetMediaItemNumTakesE"]
2324 pub static mut GetMediaItemNumTakes: ::std::option::Option<
2325 unsafe extern "C" fn(item: *mut root::MediaItem) -> ::std::os::raw::c_int,
2326 >;
2327 }
2328 extern "C" {
2329 #[link_name = "\u{1}_ZN16reaper_functions16GetMediaItemTakeE"]
2330 pub static mut GetMediaItemTake: ::std::option::Option<
2331 unsafe extern "C" fn(
2332 item: *mut root::MediaItem,
2333 tk: ::std::os::raw::c_int,
2334 ) -> *mut root::MediaItem_Take,
2335 >;
2336 }
2337 extern "C" {
2338 #[link_name = "\u{1}_ZN16reaper_functions21GetMediaItemTake_ItemE"]
2339 pub static mut GetMediaItemTake_Item: ::std::option::Option<
2340 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> *mut root::MediaItem,
2341 >;
2342 }
2343 extern "C" {
2344 #[link_name = "\u{1}_ZN16reaper_functions22GetMediaItemTake_PeaksE"]
2345 pub static mut GetMediaItemTake_Peaks: ::std::option::Option<
2346 unsafe extern "C" fn(
2347 take: *mut root::MediaItem_Take,
2348 peakrate: f64,
2349 starttime: f64,
2350 numchannels: ::std::os::raw::c_int,
2351 numsamplesperchannel: ::std::os::raw::c_int,
2352 want_extra_type: ::std::os::raw::c_int,
2353 buf: *mut f64,
2354 ) -> ::std::os::raw::c_int,
2355 >;
2356 }
2357 extern "C" {
2358 #[link_name = "\u{1}_ZN16reaper_functions23GetMediaItemTake_SourceE"]
2359 pub static mut GetMediaItemTake_Source: ::std::option::Option<
2360 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> *mut root::PCM_source,
2361 >;
2362 }
2363 extern "C" {
2364 #[link_name = "\u{1}_ZN16reaper_functions22GetMediaItemTake_TrackE"]
2365 pub static mut GetMediaItemTake_Track: ::std::option::Option<
2366 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> *mut root::MediaTrack,
2367 >;
2368 }
2369 extern "C" {
2370 #[link_name = "\u{1}_ZN16reaper_functions22GetMediaItemTakeByGUIDE"]
2371 pub static mut GetMediaItemTakeByGUID: ::std::option::Option<
2372 unsafe extern "C" fn(
2373 project: *mut root::ReaProject,
2374 guid: *const root::GUID,
2375 ) -> *mut root::MediaItem_Take,
2376 >;
2377 }
2378 extern "C" {
2379 #[link_name = "\u{1}_ZN16reaper_functions26GetMediaItemTakeInfo_ValueE"]
2380 pub static mut GetMediaItemTakeInfo_Value: ::std::option::Option<
2381 unsafe extern "C" fn(
2382 take: *mut root::MediaItem_Take,
2383 parmname: *const ::std::os::raw::c_char,
2384 ) -> f64,
2385 >;
2386 }
2387 extern "C" {
2388 #[link_name = "\u{1}_ZN16reaper_functions17GetMediaItemTrackE"]
2389 pub static mut GetMediaItemTrack: ::std::option::Option<
2390 unsafe extern "C" fn(item: *mut root::MediaItem) -> *mut root::MediaTrack,
2391 >;
2392 }
2393 extern "C" {
2394 #[link_name = "\u{1}_ZN16reaper_functions22GetMediaSourceFileNameE"]
2395 pub static mut GetMediaSourceFileName: ::std::option::Option<
2396 unsafe extern "C" fn(
2397 source: *mut root::PCM_source,
2398 filenamebuf: *mut ::std::os::raw::c_char,
2399 filenamebuf_sz: ::std::os::raw::c_int,
2400 ),
2401 >;
2402 }
2403 extern "C" {
2404 #[link_name = "\u{1}_ZN16reaper_functions20GetMediaSourceLengthE"]
2405 pub static mut GetMediaSourceLength: ::std::option::Option<
2406 unsafe extern "C" fn(
2407 source: *mut root::PCM_source,
2408 lengthIsQNOut: *mut bool,
2409 ) -> f64,
2410 >;
2411 }
2412 extern "C" {
2413 #[link_name = "\u{1}_ZN16reaper_functions25GetMediaSourceNumChannelsE"]
2414 pub static mut GetMediaSourceNumChannels: ::std::option::Option<
2415 unsafe extern "C" fn(source: *mut root::PCM_source) -> ::std::os::raw::c_int,
2416 >;
2417 }
2418 extern "C" {
2419 #[link_name = "\u{1}_ZN16reaper_functions20GetMediaSourceParentE"]
2420 pub static mut GetMediaSourceParent: ::std::option::Option<
2421 unsafe extern "C" fn(src: *mut root::PCM_source) -> *mut root::PCM_source,
2422 >;
2423 }
2424 extern "C" {
2425 #[link_name = "\u{1}_ZN16reaper_functions24GetMediaSourceSampleRateE"]
2426 pub static mut GetMediaSourceSampleRate: ::std::option::Option<
2427 unsafe extern "C" fn(source: *mut root::PCM_source) -> ::std::os::raw::c_int,
2428 >;
2429 }
2430 extern "C" {
2431 #[link_name = "\u{1}_ZN16reaper_functions18GetMediaSourceTypeE"]
2432 pub static mut GetMediaSourceType: ::std::option::Option<
2433 unsafe extern "C" fn(
2434 source: *mut root::PCM_source,
2435 typebuf: *mut ::std::os::raw::c_char,
2436 typebuf_sz: ::std::os::raw::c_int,
2437 ),
2438 >;
2439 }
2440 extern "C" {
2441 #[link_name = "\u{1}_ZN16reaper_functions23GetMediaTrackInfo_ValueE"]
2442 pub static mut GetMediaTrackInfo_Value: ::std::option::Option<
2443 unsafe extern "C" fn(
2444 tr: *mut root::MediaTrack,
2445 parmname: *const ::std::os::raw::c_char,
2446 ) -> f64,
2447 >;
2448 }
2449 extern "C" {
2450 #[link_name = "\u{1}_ZN16reaper_functions16GetMIDIInputNameE"]
2451 pub static mut GetMIDIInputName: ::std::option::Option<
2452 unsafe extern "C" fn(
2453 dev: ::std::os::raw::c_int,
2454 nameout: *mut ::std::os::raw::c_char,
2455 nameout_sz: ::std::os::raw::c_int,
2456 ) -> bool,
2457 >;
2458 }
2459 extern "C" {
2460 #[link_name = "\u{1}_ZN16reaper_functions17GetMIDIOutputNameE"]
2461 pub static mut GetMIDIOutputName: ::std::option::Option<
2462 unsafe extern "C" fn(
2463 dev: ::std::os::raw::c_int,
2464 nameout: *mut ::std::os::raw::c_char,
2465 nameout_sz: ::std::os::raw::c_int,
2466 ) -> bool,
2467 >;
2468 }
2469 extern "C" {
2470 #[link_name = "\u{1}_ZN16reaper_functions14GetMixerScrollE"]
2471 pub static mut GetMixerScroll:
2472 ::std::option::Option<unsafe extern "C" fn() -> *mut root::MediaTrack>;
2473 }
2474 extern "C" {
2475 #[link_name = "\u{1}_ZN16reaper_functions16GetMouseModifierE"]
2476 pub static mut GetMouseModifier: ::std::option::Option<
2477 unsafe extern "C" fn(
2478 context: *const ::std::os::raw::c_char,
2479 modifier_flag: ::std::os::raw::c_int,
2480 action: *mut ::std::os::raw::c_char,
2481 action_sz: ::std::os::raw::c_int,
2482 ),
2483 >;
2484 }
2485 extern "C" {
2486 #[link_name = "\u{1}_ZN16reaper_functions16GetMousePositionE"]
2487 pub static mut GetMousePosition: ::std::option::Option<
2488 unsafe extern "C" fn(
2489 xOut: *mut ::std::os::raw::c_int,
2490 yOut: *mut ::std::os::raw::c_int,
2491 ),
2492 >;
2493 }
2494 extern "C" {
2495 #[link_name = "\u{1}_ZN16reaper_functions17GetNumAudioInputsE"]
2496 pub static mut GetNumAudioInputs:
2497 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2498 }
2499 extern "C" {
2500 #[link_name = "\u{1}_ZN16reaper_functions18GetNumAudioOutputsE"]
2501 pub static mut GetNumAudioOutputs:
2502 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2503 }
2504 extern "C" {
2505 #[link_name = "\u{1}_ZN16reaper_functions16GetNumMIDIInputsE"]
2506 pub static mut GetNumMIDIInputs:
2507 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2508 }
2509 extern "C" {
2510 #[link_name = "\u{1}_ZN16reaper_functions17GetNumMIDIOutputsE"]
2511 pub static mut GetNumMIDIOutputs:
2512 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2513 }
2514 extern "C" {
2515 #[link_name = "\u{1}_ZN16reaper_functions12GetNumTracksE"]
2516 pub static mut GetNumTracks:
2517 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2518 }
2519 extern "C" {
2520 #[link_name = "\u{1}_ZN16reaper_functions5GetOSE"]
2521 pub static mut GetOS:
2522 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
2523 }
2524 extern "C" {
2525 #[link_name = "\u{1}_ZN16reaper_functions20GetOutputChannelNameE"]
2526 pub static mut GetOutputChannelName: ::std::option::Option<
2527 unsafe extern "C" fn(
2528 channelIndex: ::std::os::raw::c_int,
2529 ) -> *const ::std::os::raw::c_char,
2530 >;
2531 }
2532 extern "C" {
2533 #[link_name = "\u{1}_ZN16reaper_functions16GetOutputLatencyE"]
2534 pub static mut GetOutputLatency: ::std::option::Option<unsafe extern "C" fn() -> f64>;
2535 }
2536 extern "C" {
2537 #[link_name = "\u{1}_ZN16reaper_functions14GetParentTrackE"]
2538 pub static mut GetParentTrack: ::std::option::Option<
2539 unsafe extern "C" fn(track: *mut root::MediaTrack) -> *mut root::MediaTrack,
2540 >;
2541 }
2542 extern "C" {
2543 #[link_name = "\u{1}_ZN16reaper_functions15GetPeakFileNameE"]
2544 pub static mut GetPeakFileName: ::std::option::Option<
2545 unsafe extern "C" fn(
2546 fn_: *const ::std::os::raw::c_char,
2547 buf: *mut ::std::os::raw::c_char,
2548 buf_sz: ::std::os::raw::c_int,
2549 ),
2550 >;
2551 }
2552 extern "C" {
2553 #[link_name = "\u{1}_ZN16reaper_functions17GetPeakFileNameExE"]
2554 pub static mut GetPeakFileNameEx: ::std::option::Option<
2555 unsafe extern "C" fn(
2556 fn_: *const ::std::os::raw::c_char,
2557 buf: *mut ::std::os::raw::c_char,
2558 buf_sz: ::std::os::raw::c_int,
2559 forWrite: bool,
2560 ),
2561 >;
2562 }
2563 extern "C" {
2564 #[link_name = "\u{1}_ZN16reaper_functions18GetPeakFileNameEx2E"]
2565 pub static mut GetPeakFileNameEx2: ::std::option::Option<
2566 unsafe extern "C" fn(
2567 fn_: *const ::std::os::raw::c_char,
2568 buf: *mut ::std::os::raw::c_char,
2569 buf_sz: ::std::os::raw::c_int,
2570 forWrite: bool,
2571 peaksfileextension: *const ::std::os::raw::c_char,
2572 ),
2573 >;
2574 }
2575 extern "C" {
2576 #[link_name = "\u{1}_ZN16reaper_functions14GetPeaksBitmapE"]
2577 pub static mut GetPeaksBitmap: ::std::option::Option<
2578 unsafe extern "C" fn(
2579 pks: *mut root::PCM_source_peaktransfer_t,
2580 maxamp: f64,
2581 w: ::std::os::raw::c_int,
2582 h: ::std::os::raw::c_int,
2583 bmp: *mut root::reaper_functions::LICE_IBitmap,
2584 ) -> *mut ::std::os::raw::c_void,
2585 >;
2586 }
2587 extern "C" {
2588 #[link_name = "\u{1}_ZN16reaper_functions15GetPlayPositionE"]
2589 pub static mut GetPlayPosition: ::std::option::Option<unsafe extern "C" fn() -> f64>;
2590 }
2591 extern "C" {
2592 #[link_name = "\u{1}_ZN16reaper_functions16GetPlayPosition2E"]
2593 pub static mut GetPlayPosition2: ::std::option::Option<unsafe extern "C" fn() -> f64>;
2594 }
2595 extern "C" {
2596 #[link_name = "\u{1}_ZN16reaper_functions18GetPlayPosition2ExE"]
2597 pub static mut GetPlayPosition2Ex:
2598 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject) -> f64>;
2599 }
2600 extern "C" {
2601 #[link_name = "\u{1}_ZN16reaper_functions17GetPlayPositionExE"]
2602 pub static mut GetPlayPositionEx:
2603 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject) -> f64>;
2604 }
2605 extern "C" {
2606 #[link_name = "\u{1}_ZN16reaper_functions12GetPlayStateE"]
2607 pub static mut GetPlayState:
2608 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
2609 }
2610 extern "C" {
2611 #[link_name = "\u{1}_ZN16reaper_functions14GetPlayStateExE"]
2612 pub static mut GetPlayStateEx: ::std::option::Option<
2613 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
2614 >;
2615 }
2616 extern "C" {
2617 #[link_name = "\u{1}_ZN16reaper_functions24GetPreferredDiskReadModeE"]
2618 pub static mut GetPreferredDiskReadMode: ::std::option::Option<
2619 unsafe extern "C" fn(
2620 mode: *mut ::std::os::raw::c_int,
2621 nb: *mut ::std::os::raw::c_int,
2622 bs: *mut ::std::os::raw::c_int,
2623 ),
2624 >;
2625 }
2626 extern "C" {
2627 #[link_name = "\u{1}_ZN16reaper_functions28GetPreferredDiskReadModePeakE"]
2628 pub static mut GetPreferredDiskReadModePeak: ::std::option::Option<
2629 unsafe extern "C" fn(
2630 mode: *mut ::std::os::raw::c_int,
2631 nb: *mut ::std::os::raw::c_int,
2632 bs: *mut ::std::os::raw::c_int,
2633 ),
2634 >;
2635 }
2636 extern "C" {
2637 #[link_name = "\u{1}_ZN16reaper_functions25GetPreferredDiskWriteModeE"]
2638 pub static mut GetPreferredDiskWriteMode: ::std::option::Option<
2639 unsafe extern "C" fn(
2640 mode: *mut ::std::os::raw::c_int,
2641 nb: *mut ::std::os::raw::c_int,
2642 bs: *mut ::std::os::raw::c_int,
2643 ),
2644 >;
2645 }
2646 extern "C" {
2647 #[link_name = "\u{1}_ZN16reaper_functions16GetProjectLengthE"]
2648 pub static mut GetProjectLength:
2649 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject) -> f64>;
2650 }
2651 extern "C" {
2652 #[link_name = "\u{1}_ZN16reaper_functions14GetProjectNameE"]
2653 pub static mut GetProjectName: ::std::option::Option<
2654 unsafe extern "C" fn(
2655 proj: *mut root::ReaProject,
2656 buf: *mut ::std::os::raw::c_char,
2657 buf_sz: ::std::os::raw::c_int,
2658 ),
2659 >;
2660 }
2661 extern "C" {
2662 #[link_name = "\u{1}_ZN16reaper_functions14GetProjectPathE"]
2663 pub static mut GetProjectPath: ::std::option::Option<
2664 unsafe extern "C" fn(
2665 buf: *mut ::std::os::raw::c_char,
2666 buf_sz: ::std::os::raw::c_int,
2667 ),
2668 >;
2669 }
2670 extern "C" {
2671 #[link_name = "\u{1}_ZN16reaper_functions16GetProjectPathExE"]
2672 pub static mut GetProjectPathEx: ::std::option::Option<
2673 unsafe extern "C" fn(
2674 proj: *mut root::ReaProject,
2675 buf: *mut ::std::os::raw::c_char,
2676 buf_sz: ::std::os::raw::c_int,
2677 ),
2678 >;
2679 }
2680 extern "C" {
2681 #[link_name = "\u{1}_ZN16reaper_functions26GetProjectStateChangeCountE"]
2682 pub static mut GetProjectStateChangeCount: ::std::option::Option<
2683 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
2684 >;
2685 }
2686 extern "C" {
2687 #[link_name = "\u{1}_ZN16reaper_functions20GetProjectTimeOffsetE"]
2688 pub static mut GetProjectTimeOffset: ::std::option::Option<
2689 unsafe extern "C" fn(proj: *mut root::ReaProject, rndframe: bool) -> f64,
2690 >;
2691 }
2692 extern "C" {
2693 #[link_name = "\u{1}_ZN16reaper_functions23GetProjectTimeSignatureE"]
2694 pub static mut GetProjectTimeSignature:
2695 ::std::option::Option<unsafe extern "C" fn(bpmOut: *mut f64, bpiOut: *mut f64)>;
2696 }
2697 extern "C" {
2698 #[link_name = "\u{1}_ZN16reaper_functions24GetProjectTimeSignature2E"]
2699 pub static mut GetProjectTimeSignature2: ::std::option::Option<
2700 unsafe extern "C" fn(
2701 proj: *mut root::ReaProject,
2702 bpmOut: *mut f64,
2703 bpiOut: *mut f64,
2704 ),
2705 >;
2706 }
2707 extern "C" {
2708 #[link_name = "\u{1}_ZN16reaper_functions15GetProjExtStateE"]
2709 pub static mut GetProjExtState: ::std::option::Option<
2710 unsafe extern "C" fn(
2711 proj: *mut root::ReaProject,
2712 extname: *const ::std::os::raw::c_char,
2713 key: *const ::std::os::raw::c_char,
2714 valOutNeedBig: *mut ::std::os::raw::c_char,
2715 valOutNeedBig_sz: ::std::os::raw::c_int,
2716 ) -> ::std::os::raw::c_int,
2717 >;
2718 }
2719 extern "C" {
2720 #[link_name = "\u{1}_ZN16reaper_functions15GetResourcePathE"]
2721 pub static mut GetResourcePath:
2722 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
2723 }
2724 extern "C" {
2725 #[link_name = "\u{1}_ZN16reaper_functions19GetSelectedEnvelopeE"]
2726 pub static mut GetSelectedEnvelope: ::std::option::Option<
2727 unsafe extern "C" fn(proj: *mut root::ReaProject) -> *mut root::TrackEnvelope,
2728 >;
2729 }
2730 extern "C" {
2731 #[link_name = "\u{1}_ZN16reaper_functions20GetSelectedMediaItemE"]
2732 pub static mut GetSelectedMediaItem: ::std::option::Option<
2733 unsafe extern "C" fn(
2734 proj: *mut root::ReaProject,
2735 selitem: ::std::os::raw::c_int,
2736 ) -> *mut root::MediaItem,
2737 >;
2738 }
2739 extern "C" {
2740 #[link_name = "\u{1}_ZN16reaper_functions16GetSelectedTrackE"]
2741 pub static mut GetSelectedTrack: ::std::option::Option<
2742 unsafe extern "C" fn(
2743 proj: *mut root::ReaProject,
2744 seltrackidx: ::std::os::raw::c_int,
2745 ) -> *mut root::MediaTrack,
2746 >;
2747 }
2748 extern "C" {
2749 #[link_name = "\u{1}_ZN16reaper_functions17GetSelectedTrack2E"]
2750 pub static mut GetSelectedTrack2: ::std::option::Option<
2751 unsafe extern "C" fn(
2752 proj: *mut root::ReaProject,
2753 seltrackidx: ::std::os::raw::c_int,
2754 wantmaster: bool,
2755 ) -> *mut root::MediaTrack,
2756 >;
2757 }
2758 extern "C" {
2759 #[link_name = "\u{1}_ZN16reaper_functions24GetSelectedTrackEnvelopeE"]
2760 pub static mut GetSelectedTrackEnvelope: ::std::option::Option<
2761 unsafe extern "C" fn(proj: *mut root::ReaProject) -> *mut root::TrackEnvelope,
2762 >;
2763 }
2764 extern "C" {
2765 #[link_name = "\u{1}_ZN16reaper_functions19GetSet_ArrangeView2E"]
2766 pub static mut GetSet_ArrangeView2: ::std::option::Option<
2767 unsafe extern "C" fn(
2768 proj: *mut root::ReaProject,
2769 isSet: bool,
2770 screen_x_start: ::std::os::raw::c_int,
2771 screen_x_end: ::std::os::raw::c_int,
2772 start_timeOut: *mut f64,
2773 end_timeOut: *mut f64,
2774 ),
2775 >;
2776 }
2777 extern "C" {
2778 #[link_name = "\u{1}_ZN16reaper_functions20GetSet_LoopTimeRangeE"]
2779 pub static mut GetSet_LoopTimeRange: ::std::option::Option<
2780 unsafe extern "C" fn(
2781 isSet: bool,
2782 isLoop: bool,
2783 startOut: *mut f64,
2784 endOut: *mut f64,
2785 allowautoseek: bool,
2786 ),
2787 >;
2788 }
2789 extern "C" {
2790 #[link_name = "\u{1}_ZN16reaper_functions21GetSet_LoopTimeRange2E"]
2791 pub static mut GetSet_LoopTimeRange2: ::std::option::Option<
2792 unsafe extern "C" fn(
2793 proj: *mut root::ReaProject,
2794 isSet: bool,
2795 isLoop: bool,
2796 startOut: *mut f64,
2797 endOut: *mut f64,
2798 allowautoseek: bool,
2799 ),
2800 >;
2801 }
2802 extern "C" {
2803 #[link_name = "\u{1}_ZN16reaper_functions24GetSetAutomationItemInfoE"]
2804 pub static mut GetSetAutomationItemInfo: ::std::option::Option<
2805 unsafe extern "C" fn(
2806 env: *mut root::TrackEnvelope,
2807 autoitem_idx: ::std::os::raw::c_int,
2808 desc: *const ::std::os::raw::c_char,
2809 value: f64,
2810 is_set: bool,
2811 ) -> f64,
2812 >;
2813 }
2814 extern "C" {
2815 #[link_name = "\u{1}_ZN16reaper_functions31GetSetAutomationItemInfo_StringE"]
2816 pub static mut GetSetAutomationItemInfo_String: ::std::option::Option<
2817 unsafe extern "C" fn(
2818 env: *mut root::TrackEnvelope,
2819 autoitem_idx: ::std::os::raw::c_int,
2820 desc: *const ::std::os::raw::c_char,
2821 valuestrNeedBig: *mut ::std::os::raw::c_char,
2822 is_set: bool,
2823 ) -> bool,
2824 >;
2825 }
2826 extern "C" {
2827 #[link_name = "\u{1}_ZN16reaper_functions25GetSetEnvelopeInfo_StringE"]
2828 pub static mut GetSetEnvelopeInfo_String: ::std::option::Option<
2829 unsafe extern "C" fn(
2830 env: *mut root::TrackEnvelope,
2831 parmname: *const ::std::os::raw::c_char,
2832 stringNeedBig: *mut ::std::os::raw::c_char,
2833 setNewValue: bool,
2834 ) -> bool,
2835 >;
2836 }
2837 extern "C" {
2838 #[link_name = "\u{1}_ZN16reaper_functions19GetSetEnvelopeStateE"]
2839 pub static mut GetSetEnvelopeState: ::std::option::Option<
2840 unsafe extern "C" fn(
2841 env: *mut root::TrackEnvelope,
2842 str: *mut ::std::os::raw::c_char,
2843 str_sz: ::std::os::raw::c_int,
2844 ) -> bool,
2845 >;
2846 }
2847 extern "C" {
2848 #[link_name = "\u{1}_ZN16reaper_functions20GetSetEnvelopeState2E"]
2849 pub static mut GetSetEnvelopeState2: ::std::option::Option<
2850 unsafe extern "C" fn(
2851 env: *mut root::TrackEnvelope,
2852 str: *mut ::std::os::raw::c_char,
2853 str_sz: ::std::os::raw::c_int,
2854 isundo: bool,
2855 ) -> bool,
2856 >;
2857 }
2858 extern "C" {
2859 #[link_name = "\u{1}_ZN16reaper_functions15GetSetItemStateE"]
2860 pub static mut GetSetItemState: ::std::option::Option<
2861 unsafe extern "C" fn(
2862 item: *mut root::MediaItem,
2863 str: *mut ::std::os::raw::c_char,
2864 str_sz: ::std::os::raw::c_int,
2865 ) -> bool,
2866 >;
2867 }
2868 extern "C" {
2869 #[link_name = "\u{1}_ZN16reaper_functions16GetSetItemState2E"]
2870 pub static mut GetSetItemState2: ::std::option::Option<
2871 unsafe extern "C" fn(
2872 item: *mut root::MediaItem,
2873 str: *mut ::std::os::raw::c_char,
2874 str_sz: ::std::os::raw::c_int,
2875 isundo: bool,
2876 ) -> bool,
2877 >;
2878 }
2879 extern "C" {
2880 #[link_name = "\u{1}_ZN16reaper_functions19GetSetMediaItemInfoE"]
2881 pub static mut GetSetMediaItemInfo: ::std::option::Option<
2882 unsafe extern "C" fn(
2883 item: *mut root::MediaItem,
2884 parmname: *const ::std::os::raw::c_char,
2885 setNewValue: *mut ::std::os::raw::c_void,
2886 ) -> *mut ::std::os::raw::c_void,
2887 >;
2888 }
2889 extern "C" {
2890 #[link_name = "\u{1}_ZN16reaper_functions26GetSetMediaItemInfo_StringE"]
2891 pub static mut GetSetMediaItemInfo_String: ::std::option::Option<
2892 unsafe extern "C" fn(
2893 item: *mut root::MediaItem,
2894 parmname: *const ::std::os::raw::c_char,
2895 stringNeedBig: *mut ::std::os::raw::c_char,
2896 setNewValue: bool,
2897 ) -> bool,
2898 >;
2899 }
2900 extern "C" {
2901 #[link_name = "\u{1}_ZN16reaper_functions23GetSetMediaItemTakeInfoE"]
2902 pub static mut GetSetMediaItemTakeInfo: ::std::option::Option<
2903 unsafe extern "C" fn(
2904 tk: *mut root::MediaItem_Take,
2905 parmname: *const ::std::os::raw::c_char,
2906 setNewValue: *mut ::std::os::raw::c_void,
2907 ) -> *mut ::std::os::raw::c_void,
2908 >;
2909 }
2910 extern "C" {
2911 #[link_name = "\u{1}_ZN16reaper_functions30GetSetMediaItemTakeInfo_StringE"]
2912 pub static mut GetSetMediaItemTakeInfo_String: ::std::option::Option<
2913 unsafe extern "C" fn(
2914 tk: *mut root::MediaItem_Take,
2915 parmname: *const ::std::os::raw::c_char,
2916 stringNeedBig: *mut ::std::os::raw::c_char,
2917 setNewValue: bool,
2918 ) -> bool,
2919 >;
2920 }
2921 extern "C" {
2922 #[link_name = "\u{1}_ZN16reaper_functions20GetSetMediaTrackInfoE"]
2923 pub static mut GetSetMediaTrackInfo: ::std::option::Option<
2924 unsafe extern "C" fn(
2925 tr: *mut root::MediaTrack,
2926 parmname: *const ::std::os::raw::c_char,
2927 setNewValue: *mut ::std::os::raw::c_void,
2928 ) -> *mut ::std::os::raw::c_void,
2929 >;
2930 }
2931 extern "C" {
2932 #[link_name = "\u{1}_ZN16reaper_functions27GetSetMediaTrackInfo_StringE"]
2933 pub static mut GetSetMediaTrackInfo_String: ::std::option::Option<
2934 unsafe extern "C" fn(
2935 tr: *mut root::MediaTrack,
2936 parmname: *const ::std::os::raw::c_char,
2937 stringNeedBig: *mut ::std::os::raw::c_char,
2938 setNewValue: bool,
2939 ) -> bool,
2940 >;
2941 }
2942 extern "C" {
2943 #[link_name = "\u{1}_ZN16reaper_functions17GetSetObjectStateE"]
2944 pub static mut GetSetObjectState: ::std::option::Option<
2945 unsafe extern "C" fn(
2946 obj: *mut ::std::os::raw::c_void,
2947 str: *const ::std::os::raw::c_char,
2948 ) -> *mut ::std::os::raw::c_char,
2949 >;
2950 }
2951 extern "C" {
2952 #[link_name = "\u{1}_ZN16reaper_functions18GetSetObjectState2E"]
2953 pub static mut GetSetObjectState2: ::std::option::Option<
2954 unsafe extern "C" fn(
2955 obj: *mut ::std::os::raw::c_void,
2956 str: *const ::std::os::raw::c_char,
2957 isundo: bool,
2958 ) -> *mut ::std::os::raw::c_char,
2959 >;
2960 }
2961 extern "C" {
2962 #[link_name = "\u{1}_ZN16reaper_functions19GetSetProjectAuthorE"]
2963 pub static mut GetSetProjectAuthor: ::std::option::Option<
2964 unsafe extern "C" fn(
2965 proj: *mut root::ReaProject,
2966 set: bool,
2967 author: *mut ::std::os::raw::c_char,
2968 author_sz: ::std::os::raw::c_int,
2969 ),
2970 >;
2971 }
2972 extern "C" {
2973 #[link_name = "\u{1}_ZN16reaper_functions17GetSetProjectGridE"]
2974 pub static mut GetSetProjectGrid: ::std::option::Option<
2975 unsafe extern "C" fn(
2976 project: *mut root::ReaProject,
2977 set: bool,
2978 divisionInOutOptional: *mut f64,
2979 swingmodeInOutOptional: *mut ::std::os::raw::c_int,
2980 swingamtInOutOptional: *mut f64,
2981 ) -> ::std::os::raw::c_int,
2982 >;
2983 }
2984 extern "C" {
2985 #[link_name = "\u{1}_ZN16reaper_functions17GetSetProjectInfoE"]
2986 pub static mut GetSetProjectInfo: ::std::option::Option<
2987 unsafe extern "C" fn(
2988 project: *mut root::ReaProject,
2989 desc: *const ::std::os::raw::c_char,
2990 value: f64,
2991 is_set: bool,
2992 ) -> f64,
2993 >;
2994 }
2995 extern "C" {
2996 #[link_name = "\u{1}_ZN16reaper_functions24GetSetProjectInfo_StringE"]
2997 pub static mut GetSetProjectInfo_String: ::std::option::Option<
2998 unsafe extern "C" fn(
2999 project: *mut root::ReaProject,
3000 desc: *const ::std::os::raw::c_char,
3001 valuestrNeedBig: *mut ::std::os::raw::c_char,
3002 is_set: bool,
3003 ) -> bool,
3004 >;
3005 }
3006 extern "C" {
3007 #[link_name = "\u{1}_ZN16reaper_functions18GetSetProjectNotesE"]
3008 pub static mut GetSetProjectNotes: ::std::option::Option<
3009 unsafe extern "C" fn(
3010 proj: *mut root::ReaProject,
3011 set: bool,
3012 notesNeedBig: *mut ::std::os::raw::c_char,
3013 notesNeedBig_sz: ::std::os::raw::c_int,
3014 ),
3015 >;
3016 }
3017 extern "C" {
3018 #[link_name = "\u{1}_ZN16reaper_functions12GetSetRepeatE"]
3019 pub static mut GetSetRepeat: ::std::option::Option<
3020 unsafe extern "C" fn(val: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
3021 >;
3022 }
3023 extern "C" {
3024 #[link_name = "\u{1}_ZN16reaper_functions14GetSetRepeatExE"]
3025 pub static mut GetSetRepeatEx: ::std::option::Option<
3026 unsafe extern "C" fn(
3027 proj: *mut root::ReaProject,
3028 val: ::std::os::raw::c_int,
3029 ) -> ::std::os::raw::c_int,
3030 >;
3031 }
3032 extern "C" {
3033 #[link_name = "\u{1}_ZN16reaper_functions26GetSetTrackGroupMembershipE"]
3034 pub static mut GetSetTrackGroupMembership: ::std::option::Option<
3035 unsafe extern "C" fn(
3036 tr: *mut root::MediaTrack,
3037 groupname: *const ::std::os::raw::c_char,
3038 setmask: ::std::os::raw::c_uint,
3039 setvalue: ::std::os::raw::c_uint,
3040 ) -> ::std::os::raw::c_uint,
3041 >;
3042 }
3043 extern "C" {
3044 #[link_name = "\u{1}_ZN16reaper_functions30GetSetTrackGroupMembershipHighE"]
3045 pub static mut GetSetTrackGroupMembershipHigh: ::std::option::Option<
3046 unsafe extern "C" fn(
3047 tr: *mut root::MediaTrack,
3048 groupname: *const ::std::os::raw::c_char,
3049 setmask: ::std::os::raw::c_uint,
3050 setvalue: ::std::os::raw::c_uint,
3051 ) -> ::std::os::raw::c_uint,
3052 >;
3053 }
3054 extern "C" {
3055 #[link_name = "\u{1}_ZN16reaper_functions26GetSetTrackMIDISupportFileE"]
3056 pub static mut GetSetTrackMIDISupportFile: ::std::option::Option<
3057 unsafe extern "C" fn(
3058 proj: *mut root::ReaProject,
3059 track: *mut root::MediaTrack,
3060 which: ::std::os::raw::c_int,
3061 filename: *const ::std::os::raw::c_char,
3062 ) -> *const ::std::os::raw::c_char,
3063 >;
3064 }
3065 extern "C" {
3066 #[link_name = "\u{1}_ZN16reaper_functions19GetSetTrackSendInfoE"]
3067 pub static mut GetSetTrackSendInfo: ::std::option::Option<
3068 unsafe extern "C" fn(
3069 tr: *mut root::MediaTrack,
3070 category: ::std::os::raw::c_int,
3071 sendidx: ::std::os::raw::c_int,
3072 parmname: *const ::std::os::raw::c_char,
3073 setNewValue: *mut ::std::os::raw::c_void,
3074 ) -> *mut ::std::os::raw::c_void,
3075 >;
3076 }
3077 extern "C" {
3078 #[link_name = "\u{1}_ZN16reaper_functions26GetSetTrackSendInfo_StringE"]
3079 pub static mut GetSetTrackSendInfo_String: ::std::option::Option<
3080 unsafe extern "C" fn(
3081 tr: *mut root::MediaTrack,
3082 category: ::std::os::raw::c_int,
3083 sendidx: ::std::os::raw::c_int,
3084 parmname: *const ::std::os::raw::c_char,
3085 stringNeedBig: *mut ::std::os::raw::c_char,
3086 setNewValue: bool,
3087 ) -> bool,
3088 >;
3089 }
3090 extern "C" {
3091 #[link_name = "\u{1}_ZN16reaper_functions16GetSetTrackStateE"]
3092 pub static mut GetSetTrackState: ::std::option::Option<
3093 unsafe extern "C" fn(
3094 track: *mut root::MediaTrack,
3095 str: *mut ::std::os::raw::c_char,
3096 str_sz: ::std::os::raw::c_int,
3097 ) -> bool,
3098 >;
3099 }
3100 extern "C" {
3101 #[link_name = "\u{1}_ZN16reaper_functions17GetSetTrackState2E"]
3102 pub static mut GetSetTrackState2: ::std::option::Option<
3103 unsafe extern "C" fn(
3104 track: *mut root::MediaTrack,
3105 str: *mut ::std::os::raw::c_char,
3106 str_sz: ::std::os::raw::c_int,
3107 isundo: bool,
3108 ) -> bool,
3109 >;
3110 }
3111 extern "C" {
3112 #[link_name = "\u{1}_ZN16reaper_functions23GetSubProjectFromSourceE"]
3113 pub static mut GetSubProjectFromSource: ::std::option::Option<
3114 unsafe extern "C" fn(src: *mut root::PCM_source) -> *mut root::ReaProject,
3115 >;
3116 }
3117 extern "C" {
3118 #[link_name = "\u{1}_ZN16reaper_functions7GetTakeE"]
3119 pub static mut GetTake: ::std::option::Option<
3120 unsafe extern "C" fn(
3121 item: *mut root::MediaItem,
3122 takeidx: ::std::os::raw::c_int,
3123 ) -> *mut root::MediaItem_Take,
3124 >;
3125 }
3126 extern "C" {
3127 #[link_name = "\u{1}_ZN16reaper_functions15GetTakeEnvelopeE"]
3128 pub static mut GetTakeEnvelope: ::std::option::Option<
3129 unsafe extern "C" fn(
3130 take: *mut root::MediaItem_Take,
3131 envidx: ::std::os::raw::c_int,
3132 ) -> *mut root::TrackEnvelope,
3133 >;
3134 }
3135 extern "C" {
3136 #[link_name = "\u{1}_ZN16reaper_functions21GetTakeEnvelopeByNameE"]
3137 pub static mut GetTakeEnvelopeByName: ::std::option::Option<
3138 unsafe extern "C" fn(
3139 take: *mut root::MediaItem_Take,
3140 envname: *const ::std::os::raw::c_char,
3141 ) -> *mut root::TrackEnvelope,
3142 >;
3143 }
3144 extern "C" {
3145 #[link_name = "\u{1}_ZN16reaper_functions11GetTakeNameE"]
3146 pub static mut GetTakeName: ::std::option::Option<
3147 unsafe extern "C" fn(
3148 take: *mut root::MediaItem_Take,
3149 ) -> *const ::std::os::raw::c_char,
3150 >;
3151 }
3152 extern "C" {
3153 #[link_name = "\u{1}_ZN16reaper_functions24GetTakeNumStretchMarkersE"]
3154 pub static mut GetTakeNumStretchMarkers: ::std::option::Option<
3155 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> ::std::os::raw::c_int,
3156 >;
3157 }
3158 extern "C" {
3159 #[link_name = "\u{1}_ZN16reaper_functions20GetTakeStretchMarkerE"]
3160 pub static mut GetTakeStretchMarker: ::std::option::Option<
3161 unsafe extern "C" fn(
3162 take: *mut root::MediaItem_Take,
3163 idx: ::std::os::raw::c_int,
3164 posOut: *mut f64,
3165 srcposOutOptional: *mut f64,
3166 ) -> ::std::os::raw::c_int,
3167 >;
3168 }
3169 extern "C" {
3170 #[link_name = "\u{1}_ZN16reaper_functions25GetTakeStretchMarkerSlopeE"]
3171 pub static mut GetTakeStretchMarkerSlope: ::std::option::Option<
3172 unsafe extern "C" fn(
3173 take: *mut root::MediaItem_Take,
3174 idx: ::std::os::raw::c_int,
3175 ) -> f64,
3176 >;
3177 }
3178 extern "C" {
3179 #[link_name = "\u{1}_ZN16reaper_functions12GetTCPFXParmE"]
3180 pub static mut GetTCPFXParm: ::std::option::Option<
3181 unsafe extern "C" fn(
3182 project: *mut root::ReaProject,
3183 track: *mut root::MediaTrack,
3184 index: ::std::os::raw::c_int,
3185 fxindexOut: *mut ::std::os::raw::c_int,
3186 parmidxOut: *mut ::std::os::raw::c_int,
3187 ) -> bool,
3188 >;
3189 }
3190 extern "C" {
3191 #[link_name = "\u{1}_ZN16reaper_functions21GetTempoMatchPlayRateE"]
3192 pub static mut GetTempoMatchPlayRate: ::std::option::Option<
3193 unsafe extern "C" fn(
3194 source: *mut root::PCM_source,
3195 srcscale: f64,
3196 position: f64,
3197 mult: f64,
3198 rateOut: *mut f64,
3199 targetlenOut: *mut f64,
3200 ) -> bool,
3201 >;
3202 }
3203 extern "C" {
3204 #[link_name = "\u{1}_ZN16reaper_functions21GetTempoTimeSigMarkerE"]
3205 pub static mut GetTempoTimeSigMarker: ::std::option::Option<
3206 unsafe extern "C" fn(
3207 proj: *mut root::ReaProject,
3208 ptidx: ::std::os::raw::c_int,
3209 timeposOut: *mut f64,
3210 measureposOut: *mut ::std::os::raw::c_int,
3211 beatposOut: *mut f64,
3212 bpmOut: *mut f64,
3213 timesig_numOut: *mut ::std::os::raw::c_int,
3214 timesig_denomOut: *mut ::std::os::raw::c_int,
3215 lineartempoOut: *mut bool,
3216 ) -> bool,
3217 >;
3218 }
3219 extern "C" {
3220 #[link_name = "\u{1}_ZN16reaper_functions21GetToggleCommandStateE"]
3221 pub static mut GetToggleCommandState: ::std::option::Option<
3222 unsafe extern "C" fn(command_id: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
3223 >;
3224 }
3225 extern "C" {
3226 #[link_name = "\u{1}_ZN16reaper_functions22GetToggleCommandState2E"]
3227 pub static mut GetToggleCommandState2: ::std::option::Option<
3228 unsafe extern "C" fn(
3229 section: *mut root::KbdSectionInfo,
3230 command_id: ::std::os::raw::c_int,
3231 ) -> ::std::os::raw::c_int,
3232 >;
3233 }
3234 extern "C" {
3235 #[link_name = "\u{1}_ZN16reaper_functions23GetToggleCommandStateExE"]
3236 pub static mut GetToggleCommandStateEx: ::std::option::Option<
3237 unsafe extern "C" fn(
3238 section_id: ::std::os::raw::c_int,
3239 command_id: ::std::os::raw::c_int,
3240 ) -> ::std::os::raw::c_int,
3241 >;
3242 }
3243 extern "C" {
3244 #[link_name = "\u{1}_ZN16reaper_functions33GetToggleCommandStateThroughHooksE"]
3245 pub static mut GetToggleCommandStateThroughHooks: ::std::option::Option<
3246 unsafe extern "C" fn(
3247 section: *mut root::KbdSectionInfo,
3248 command_id: ::std::os::raw::c_int,
3249 ) -> ::std::os::raw::c_int,
3250 >;
3251 }
3252 extern "C" {
3253 #[link_name = "\u{1}_ZN16reaper_functions16GetTooltipWindowE"]
3254 pub static mut GetTooltipWindow:
3255 ::std::option::Option<unsafe extern "C" fn() -> root::HWND>;
3256 }
3257 extern "C" {
3258 #[link_name = "\u{1}_ZN16reaper_functions8GetTrackE"]
3259 pub static mut GetTrack: ::std::option::Option<
3260 unsafe extern "C" fn(
3261 proj: *mut root::ReaProject,
3262 trackidx: ::std::os::raw::c_int,
3263 ) -> *mut root::MediaTrack,
3264 >;
3265 }
3266 extern "C" {
3267 #[link_name = "\u{1}_ZN16reaper_functions22GetTrackAutomationModeE"]
3268 pub static mut GetTrackAutomationMode: ::std::option::Option<
3269 unsafe extern "C" fn(tr: *mut root::MediaTrack) -> ::std::os::raw::c_int,
3270 >;
3271 }
3272 extern "C" {
3273 #[link_name = "\u{1}_ZN16reaper_functions13GetTrackColorE"]
3274 pub static mut GetTrackColor: ::std::option::Option<
3275 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
3276 >;
3277 }
3278 extern "C" {
3279 #[link_name = "\u{1}_ZN16reaper_functions13GetTrackDepthE"]
3280 pub static mut GetTrackDepth: ::std::option::Option<
3281 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
3282 >;
3283 }
3284 extern "C" {
3285 #[link_name = "\u{1}_ZN16reaper_functions16GetTrackEnvelopeE"]
3286 pub static mut GetTrackEnvelope: ::std::option::Option<
3287 unsafe extern "C" fn(
3288 track: *mut root::MediaTrack,
3289 envidx: ::std::os::raw::c_int,
3290 ) -> *mut root::TrackEnvelope,
3291 >;
3292 }
3293 extern "C" {
3294 #[link_name = "\u{1}_ZN16reaper_functions27GetTrackEnvelopeByChunkNameE"]
3295 pub static mut GetTrackEnvelopeByChunkName: ::std::option::Option<
3296 unsafe extern "C" fn(
3297 tr: *mut root::MediaTrack,
3298 cfgchunkname: *const ::std::os::raw::c_char,
3299 ) -> *mut root::TrackEnvelope,
3300 >;
3301 }
3302 extern "C" {
3303 #[link_name = "\u{1}_ZN16reaper_functions22GetTrackEnvelopeByNameE"]
3304 pub static mut GetTrackEnvelopeByName: ::std::option::Option<
3305 unsafe extern "C" fn(
3306 track: *mut root::MediaTrack,
3307 envname: *const ::std::os::raw::c_char,
3308 ) -> *mut root::TrackEnvelope,
3309 >;
3310 }
3311 extern "C" {
3312 #[link_name = "\u{1}_ZN16reaper_functions17GetTrackFromPointE"]
3313 pub static mut GetTrackFromPoint: ::std::option::Option<
3314 unsafe extern "C" fn(
3315 screen_x: ::std::os::raw::c_int,
3316 screen_y: ::std::os::raw::c_int,
3317 infoOutOptional: *mut ::std::os::raw::c_int,
3318 ) -> *mut root::MediaTrack,
3319 >;
3320 }
3321 extern "C" {
3322 #[link_name = "\u{1}_ZN16reaper_functions12GetTrackGUIDE"]
3323 pub static mut GetTrackGUID: ::std::option::Option<
3324 unsafe extern "C" fn(tr: *mut root::MediaTrack) -> *mut root::GUID,
3325 >;
3326 }
3327 extern "C" {
3328 #[link_name = "\u{1}_ZN16reaper_functions12GetTrackInfoE"]
3329 pub static mut GetTrackInfo: ::std::option::Option<
3330 unsafe extern "C" fn(
3331 track: root::INT_PTR,
3332 flags: *mut ::std::os::raw::c_int,
3333 ) -> *const ::std::os::raw::c_char,
3334 >;
3335 }
3336 extern "C" {
3337 #[link_name = "\u{1}_ZN16reaper_functions17GetTrackMediaItemE"]
3338 pub static mut GetTrackMediaItem: ::std::option::Option<
3339 unsafe extern "C" fn(
3340 tr: *mut root::MediaTrack,
3341 itemidx: ::std::os::raw::c_int,
3342 ) -> *mut root::MediaItem,
3343 >;
3344 }
3345 extern "C" {
3346 #[link_name = "\u{1}_ZN16reaper_functions18GetTrackMIDILyricsE"]
3347 pub static mut GetTrackMIDILyrics: ::std::option::Option<
3348 unsafe extern "C" fn(
3349 track: *mut root::MediaTrack,
3350 flag: ::std::os::raw::c_int,
3351 bufWantNeedBig: *mut ::std::os::raw::c_char,
3352 bufWantNeedBig_sz: *mut ::std::os::raw::c_int,
3353 ) -> bool,
3354 >;
3355 }
3356 extern "C" {
3357 #[link_name = "\u{1}_ZN16reaper_functions20GetTrackMIDINoteNameE"]
3358 pub static mut GetTrackMIDINoteName: ::std::option::Option<
3359 unsafe extern "C" fn(
3360 track: ::std::os::raw::c_int,
3361 pitch: ::std::os::raw::c_int,
3362 chan: ::std::os::raw::c_int,
3363 ) -> *const ::std::os::raw::c_char,
3364 >;
3365 }
3366 extern "C" {
3367 #[link_name = "\u{1}_ZN16reaper_functions22GetTrackMIDINoteNameExE"]
3368 pub static mut GetTrackMIDINoteNameEx: ::std::option::Option<
3369 unsafe extern "C" fn(
3370 proj: *mut root::ReaProject,
3371 track: *mut root::MediaTrack,
3372 pitch: ::std::os::raw::c_int,
3373 chan: ::std::os::raw::c_int,
3374 ) -> *const ::std::os::raw::c_char,
3375 >;
3376 }
3377 extern "C" {
3378 #[link_name = "\u{1}_ZN16reaper_functions21GetTrackMIDINoteRangeE"]
3379 pub static mut GetTrackMIDINoteRange: ::std::option::Option<
3380 unsafe extern "C" fn(
3381 proj: *mut root::ReaProject,
3382 track: *mut root::MediaTrack,
3383 note_loOut: *mut ::std::os::raw::c_int,
3384 note_hiOut: *mut ::std::os::raw::c_int,
3385 ),
3386 >;
3387 }
3388 extern "C" {
3389 #[link_name = "\u{1}_ZN16reaper_functions12GetTrackNameE"]
3390 pub static mut GetTrackName: ::std::option::Option<
3391 unsafe extern "C" fn(
3392 track: *mut root::MediaTrack,
3393 bufOut: *mut ::std::os::raw::c_char,
3394 bufOut_sz: ::std::os::raw::c_int,
3395 ) -> bool,
3396 >;
3397 }
3398 extern "C" {
3399 #[link_name = "\u{1}_ZN16reaper_functions21GetTrackNumMediaItemsE"]
3400 pub static mut GetTrackNumMediaItems: ::std::option::Option<
3401 unsafe extern "C" fn(tr: *mut root::MediaTrack) -> ::std::os::raw::c_int,
3402 >;
3403 }
3404 extern "C" {
3405 #[link_name = "\u{1}_ZN16reaper_functions16GetTrackNumSendsE"]
3406 pub static mut GetTrackNumSends: ::std::option::Option<
3407 unsafe extern "C" fn(
3408 tr: *mut root::MediaTrack,
3409 category: ::std::os::raw::c_int,
3410 ) -> ::std::os::raw::c_int,
3411 >;
3412 }
3413 extern "C" {
3414 #[link_name = "\u{1}_ZN16reaper_functions19GetTrackReceiveNameE"]
3415 pub static mut GetTrackReceiveName: ::std::option::Option<
3416 unsafe extern "C" fn(
3417 track: *mut root::MediaTrack,
3418 recv_index: ::std::os::raw::c_int,
3419 buf: *mut ::std::os::raw::c_char,
3420 buf_sz: ::std::os::raw::c_int,
3421 ) -> bool,
3422 >;
3423 }
3424 extern "C" {
3425 #[link_name = "\u{1}_ZN16reaper_functions21GetTrackReceiveUIMuteE"]
3426 pub static mut GetTrackReceiveUIMute: ::std::option::Option<
3427 unsafe extern "C" fn(
3428 track: *mut root::MediaTrack,
3429 recv_index: ::std::os::raw::c_int,
3430 muteOut: *mut bool,
3431 ) -> bool,
3432 >;
3433 }
3434 extern "C" {
3435 #[link_name = "\u{1}_ZN16reaper_functions23GetTrackReceiveUIVolPanE"]
3436 pub static mut GetTrackReceiveUIVolPan: ::std::option::Option<
3437 unsafe extern "C" fn(
3438 track: *mut root::MediaTrack,
3439 recv_index: ::std::os::raw::c_int,
3440 volumeOut: *mut f64,
3441 panOut: *mut f64,
3442 ) -> bool,
3443 >;
3444 }
3445 extern "C" {
3446 #[link_name = "\u{1}_ZN16reaper_functions22GetTrackSendInfo_ValueE"]
3447 pub static mut GetTrackSendInfo_Value: ::std::option::Option<
3448 unsafe extern "C" fn(
3449 tr: *mut root::MediaTrack,
3450 category: ::std::os::raw::c_int,
3451 sendidx: ::std::os::raw::c_int,
3452 parmname: *const ::std::os::raw::c_char,
3453 ) -> f64,
3454 >;
3455 }
3456 extern "C" {
3457 #[link_name = "\u{1}_ZN16reaper_functions16GetTrackSendNameE"]
3458 pub static mut GetTrackSendName: ::std::option::Option<
3459 unsafe extern "C" fn(
3460 track: *mut root::MediaTrack,
3461 send_index: ::std::os::raw::c_int,
3462 buf: *mut ::std::os::raw::c_char,
3463 buf_sz: ::std::os::raw::c_int,
3464 ) -> bool,
3465 >;
3466 }
3467 extern "C" {
3468 #[link_name = "\u{1}_ZN16reaper_functions18GetTrackSendUIMuteE"]
3469 pub static mut GetTrackSendUIMute: ::std::option::Option<
3470 unsafe extern "C" fn(
3471 track: *mut root::MediaTrack,
3472 send_index: ::std::os::raw::c_int,
3473 muteOut: *mut bool,
3474 ) -> bool,
3475 >;
3476 }
3477 extern "C" {
3478 #[link_name = "\u{1}_ZN16reaper_functions20GetTrackSendUIVolPanE"]
3479 pub static mut GetTrackSendUIVolPan: ::std::option::Option<
3480 unsafe extern "C" fn(
3481 track: *mut root::MediaTrack,
3482 send_index: ::std::os::raw::c_int,
3483 volumeOut: *mut f64,
3484 panOut: *mut f64,
3485 ) -> bool,
3486 >;
3487 }
3488 extern "C" {
3489 #[link_name = "\u{1}_ZN16reaper_functions13GetTrackStateE"]
3490 pub static mut GetTrackState: ::std::option::Option<
3491 unsafe extern "C" fn(
3492 track: *mut root::MediaTrack,
3493 flagsOut: *mut ::std::os::raw::c_int,
3494 ) -> *const ::std::os::raw::c_char,
3495 >;
3496 }
3497 extern "C" {
3498 #[link_name = "\u{1}_ZN16reaper_functions18GetTrackStateChunkE"]
3499 pub static mut GetTrackStateChunk: ::std::option::Option<
3500 unsafe extern "C" fn(
3501 track: *mut root::MediaTrack,
3502 strNeedBig: *mut ::std::os::raw::c_char,
3503 strNeedBig_sz: ::std::os::raw::c_int,
3504 isundoOptional: bool,
3505 ) -> bool,
3506 >;
3507 }
3508 extern "C" {
3509 #[link_name = "\u{1}_ZN16reaper_functions14GetTrackUIMuteE"]
3510 pub static mut GetTrackUIMute: ::std::option::Option<
3511 unsafe extern "C" fn(track: *mut root::MediaTrack, muteOut: *mut bool) -> bool,
3512 >;
3513 }
3514 extern "C" {
3515 #[link_name = "\u{1}_ZN16reaper_functions13GetTrackUIPanE"]
3516 pub static mut GetTrackUIPan: ::std::option::Option<
3517 unsafe extern "C" fn(
3518 track: *mut root::MediaTrack,
3519 pan1Out: *mut f64,
3520 pan2Out: *mut f64,
3521 panmodeOut: *mut ::std::os::raw::c_int,
3522 ) -> bool,
3523 >;
3524 }
3525 extern "C" {
3526 #[link_name = "\u{1}_ZN16reaper_functions16GetTrackUIVolPanE"]
3527 pub static mut GetTrackUIVolPan: ::std::option::Option<
3528 unsafe extern "C" fn(
3529 track: *mut root::MediaTrack,
3530 volumeOut: *mut f64,
3531 panOut: *mut f64,
3532 ) -> bool,
3533 >;
3534 }
3535 extern "C" {
3536 #[link_name = "\u{1}_ZN16reaper_functions15GetUnderrunTimeE"]
3537 pub static mut GetUnderrunTime: ::std::option::Option<
3538 unsafe extern "C" fn(
3539 audio_xrunOutOptional: *mut ::std::os::raw::c_uint,
3540 media_xrunOutOptional: *mut ::std::os::raw::c_uint,
3541 curtimeOutOptional: *mut ::std::os::raw::c_uint,
3542 ),
3543 >;
3544 }
3545 extern "C" {
3546 #[link_name = "\u{1}_ZN16reaper_functions22GetUserFileNameForReadE"]
3547 pub static mut GetUserFileNameForRead: ::std::option::Option<
3548 unsafe extern "C" fn(
3549 filenameNeed4096: *mut ::std::os::raw::c_char,
3550 title: *const ::std::os::raw::c_char,
3551 defext: *const ::std::os::raw::c_char,
3552 ) -> bool,
3553 >;
3554 }
3555 extern "C" {
3556 #[link_name = "\u{1}_ZN16reaper_functions13GetUserInputsE"]
3557 pub static mut GetUserInputs: ::std::option::Option<
3558 unsafe extern "C" fn(
3559 title: *const ::std::os::raw::c_char,
3560 num_inputs: ::std::os::raw::c_int,
3561 captions_csv: *const ::std::os::raw::c_char,
3562 retvals_csv: *mut ::std::os::raw::c_char,
3563 retvals_csv_sz: ::std::os::raw::c_int,
3564 ) -> bool,
3565 >;
3566 }
3567 extern "C" {
3568 #[link_name = "\u{1}_ZN16reaper_functions10GoToMarkerE"]
3569 pub static mut GoToMarker: ::std::option::Option<
3570 unsafe extern "C" fn(
3571 proj: *mut root::ReaProject,
3572 marker_index: ::std::os::raw::c_int,
3573 use_timeline_order: bool,
3574 ),
3575 >;
3576 }
3577 extern "C" {
3578 #[link_name = "\u{1}_ZN16reaper_functions10GoToRegionE"]
3579 pub static mut GoToRegion: ::std::option::Option<
3580 unsafe extern "C" fn(
3581 proj: *mut root::ReaProject,
3582 region_index: ::std::os::raw::c_int,
3583 use_timeline_order: bool,
3584 ),
3585 >;
3586 }
3587 extern "C" {
3588 #[link_name = "\u{1}_ZN16reaper_functions14GR_SelectColorE"]
3589 pub static mut GR_SelectColor: ::std::option::Option<
3590 unsafe extern "C" fn(
3591 hwnd: root::HWND,
3592 colorOut: *mut ::std::os::raw::c_int,
3593 ) -> ::std::os::raw::c_int,
3594 >;
3595 }
3596 extern "C" {
3597 #[link_name = "\u{1}_ZN16reaper_functions11GSC_mainwndE"]
3598 pub static mut GSC_mainwnd: ::std::option::Option<
3599 unsafe extern "C" fn(t: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
3600 >;
3601 }
3602 extern "C" {
3603 #[link_name = "\u{1}_ZN16reaper_functions12guidToStringE"]
3604 pub static mut guidToString: ::std::option::Option<
3605 unsafe extern "C" fn(g: *const root::GUID, destNeed64: *mut ::std::os::raw::c_char),
3606 >;
3607 }
3608 extern "C" {
3609 #[link_name = "\u{1}_ZN16reaper_functions11HasExtStateE"]
3610 pub static mut HasExtState: ::std::option::Option<
3611 unsafe extern "C" fn(
3612 section: *const ::std::os::raw::c_char,
3613 key: *const ::std::os::raw::c_char,
3614 ) -> bool,
3615 >;
3616 }
3617 extern "C" {
3618 #[link_name = "\u{1}_ZN16reaper_functions20HasTrackMIDIProgramsE"]
3619 pub static mut HasTrackMIDIPrograms: ::std::option::Option<
3620 unsafe extern "C" fn(track: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char,
3621 >;
3622 }
3623 extern "C" {
3624 #[link_name = "\u{1}_ZN16reaper_functions22HasTrackMIDIProgramsExE"]
3625 pub static mut HasTrackMIDIProgramsEx: ::std::option::Option<
3626 unsafe extern "C" fn(
3627 proj: *mut root::ReaProject,
3628 track: *mut root::MediaTrack,
3629 ) -> *const ::std::os::raw::c_char,
3630 >;
3631 }
3632 extern "C" {
3633 #[link_name = "\u{1}_ZN16reaper_functions8Help_SetE"]
3634 pub static mut Help_Set: ::std::option::Option<
3635 unsafe extern "C" fn(
3636 helpstring: *const ::std::os::raw::c_char,
3637 is_temporary_help: bool,
3638 ),
3639 >;
3640 }
3641 extern "C" {
3642 #[link_name = "\u{1}_ZN16reaper_functions20HiresPeaksFromSourceE"]
3643 pub static mut HiresPeaksFromSource: ::std::option::Option<
3644 unsafe extern "C" fn(
3645 src: *mut root::PCM_source,
3646 block: *mut root::PCM_source_peaktransfer_t,
3647 ),
3648 >;
3649 }
3650 extern "C" {
3651 #[link_name = "\u{1}_ZN16reaper_functions16image_resolve_fnE"]
3652 pub static mut image_resolve_fn: ::std::option::Option<
3653 unsafe extern "C" fn(
3654 in_: *const ::std::os::raw::c_char,
3655 out: *mut ::std::os::raw::c_char,
3656 out_sz: ::std::os::raw::c_int,
3657 ),
3658 >;
3659 }
3660 extern "C" {
3661 #[link_name = "\u{1}_ZN16reaper_functions20InsertAutomationItemE"]
3662 pub static mut InsertAutomationItem: ::std::option::Option<
3663 unsafe extern "C" fn(
3664 env: *mut root::TrackEnvelope,
3665 pool_id: ::std::os::raw::c_int,
3666 position: f64,
3667 length: f64,
3668 ) -> ::std::os::raw::c_int,
3669 >;
3670 }
3671 extern "C" {
3672 #[link_name = "\u{1}_ZN16reaper_functions19InsertEnvelopePointE"]
3673 pub static mut InsertEnvelopePoint: ::std::option::Option<
3674 unsafe extern "C" fn(
3675 envelope: *mut root::TrackEnvelope,
3676 time: f64,
3677 value: f64,
3678 shape: ::std::os::raw::c_int,
3679 tension: f64,
3680 selected: bool,
3681 noSortInOptional: *mut bool,
3682 ) -> bool,
3683 >;
3684 }
3685 extern "C" {
3686 #[link_name = "\u{1}_ZN16reaper_functions21InsertEnvelopePointExE"]
3687 pub static mut InsertEnvelopePointEx: ::std::option::Option<
3688 unsafe extern "C" fn(
3689 envelope: *mut root::TrackEnvelope,
3690 autoitem_idx: ::std::os::raw::c_int,
3691 time: f64,
3692 value: f64,
3693 shape: ::std::os::raw::c_int,
3694 tension: f64,
3695 selected: bool,
3696 noSortInOptional: *mut bool,
3697 ) -> bool,
3698 >;
3699 }
3700 extern "C" {
3701 #[link_name = "\u{1}_ZN16reaper_functions11InsertMediaE"]
3702 pub static mut InsertMedia: ::std::option::Option<
3703 unsafe extern "C" fn(
3704 file: *const ::std::os::raw::c_char,
3705 mode: ::std::os::raw::c_int,
3706 ) -> ::std::os::raw::c_int,
3707 >;
3708 }
3709 extern "C" {
3710 #[link_name = "\u{1}_ZN16reaper_functions18InsertMediaSectionE"]
3711 pub static mut InsertMediaSection: ::std::option::Option<
3712 unsafe extern "C" fn(
3713 file: *const ::std::os::raw::c_char,
3714 mode: ::std::os::raw::c_int,
3715 startpct: f64,
3716 endpct: f64,
3717 pitchshift: f64,
3718 ) -> ::std::os::raw::c_int,
3719 >;
3720 }
3721 extern "C" {
3722 #[link_name = "\u{1}_ZN16reaper_functions18InsertTrackAtIndexE"]
3723 pub static mut InsertTrackAtIndex: ::std::option::Option<
3724 unsafe extern "C" fn(idx: ::std::os::raw::c_int, wantDefaults: bool),
3725 >;
3726 }
3727 extern "C" {
3728 #[link_name = "\u{1}_ZN16reaper_functions17IsInRealTimeAudioE"]
3729 pub static mut IsInRealTimeAudio:
3730 ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
3731 }
3732 extern "C" {
3733 #[link_name = "\u{1}_ZN16reaper_functions27IsItemTakeActiveForPlaybackE"]
3734 pub static mut IsItemTakeActiveForPlayback: ::std::option::Option<
3735 unsafe extern "C" fn(
3736 item: *mut root::MediaItem,
3737 take: *mut root::MediaItem_Take,
3738 ) -> bool,
3739 >;
3740 }
3741 extern "C" {
3742 #[link_name = "\u{1}_ZN16reaper_functions16IsMediaExtensionE"]
3743 pub static mut IsMediaExtension: ::std::option::Option<
3744 unsafe extern "C" fn(ext: *const ::std::os::raw::c_char, wantOthers: bool) -> bool,
3745 >;
3746 }
3747 extern "C" {
3748 #[link_name = "\u{1}_ZN16reaper_functions19IsMediaItemSelectedE"]
3749 pub static mut IsMediaItemSelected:
3750 ::std::option::Option<unsafe extern "C" fn(item: *mut root::MediaItem) -> bool>;
3751 }
3752 extern "C" {
3753 #[link_name = "\u{1}_ZN16reaper_functions14IsProjectDirtyE"]
3754 pub static mut IsProjectDirty: ::std::option::Option<
3755 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
3756 >;
3757 }
3758 extern "C" {
3759 #[link_name = "\u{1}_ZN16reaper_functions8IsREAPERE"]
3760 pub static mut IsREAPER: ::std::option::Option<unsafe extern "C" fn() -> bool>;
3761 }
3762 extern "C" {
3763 #[link_name = "\u{1}_ZN16reaper_functions15IsTrackSelectedE"]
3764 pub static mut IsTrackSelected:
3765 ::std::option::Option<unsafe extern "C" fn(track: *mut root::MediaTrack) -> bool>;
3766 }
3767 extern "C" {
3768 #[link_name = "\u{1}_ZN16reaper_functions14IsTrackVisibleE"]
3769 pub static mut IsTrackVisible: ::std::option::Option<
3770 unsafe extern "C" fn(track: *mut root::MediaTrack, mixer: bool) -> bool,
3771 >;
3772 }
3773 extern "C" {
3774 #[link_name = "\u{1}_ZN16reaper_functions15joystick_createE"]
3775 pub static mut joystick_create: ::std::option::Option<
3776 unsafe extern "C" fn(
3777 guid: *const root::GUID,
3778 )
3779 -> *mut root::reaper_functions::joystick_device,
3780 >;
3781 }
3782 extern "C" {
3783 #[link_name = "\u{1}_ZN16reaper_functions16joystick_destroyE"]
3784 pub static mut joystick_destroy: ::std::option::Option<
3785 unsafe extern "C" fn(device: *mut root::reaper_functions::joystick_device),
3786 >;
3787 }
3788 extern "C" {
3789 #[link_name = "\u{1}_ZN16reaper_functions13joystick_enumE"]
3790 pub static mut joystick_enum: ::std::option::Option<
3791 unsafe extern "C" fn(
3792 index: ::std::os::raw::c_int,
3793 namestrOutOptional: *mut *const ::std::os::raw::c_char,
3794 ) -> *const ::std::os::raw::c_char,
3795 >;
3796 }
3797 extern "C" {
3798 #[link_name = "\u{1}_ZN16reaper_functions16joystick_getaxisE"]
3799 pub static mut joystick_getaxis: ::std::option::Option<
3800 unsafe extern "C" fn(
3801 dev: *mut root::reaper_functions::joystick_device,
3802 axis: ::std::os::raw::c_int,
3803 ) -> f64,
3804 >;
3805 }
3806 extern "C" {
3807 #[link_name = "\u{1}_ZN16reaper_functions22joystick_getbuttonmaskE"]
3808 pub static mut joystick_getbuttonmask: ::std::option::Option<
3809 unsafe extern "C" fn(
3810 dev: *mut root::reaper_functions::joystick_device,
3811 ) -> ::std::os::raw::c_uint,
3812 >;
3813 }
3814 extern "C" {
3815 #[link_name = "\u{1}_ZN16reaper_functions16joystick_getinfoE"]
3816 pub static mut joystick_getinfo: ::std::option::Option<
3817 unsafe extern "C" fn(
3818 dev: *mut root::reaper_functions::joystick_device,
3819 axesOutOptional: *mut ::std::os::raw::c_int,
3820 povsOutOptional: *mut ::std::os::raw::c_int,
3821 ) -> ::std::os::raw::c_int,
3822 >;
3823 }
3824 extern "C" {
3825 #[link_name = "\u{1}_ZN16reaper_functions15joystick_getpovE"]
3826 pub static mut joystick_getpov: ::std::option::Option<
3827 unsafe extern "C" fn(
3828 dev: *mut root::reaper_functions::joystick_device,
3829 pov: ::std::os::raw::c_int,
3830 ) -> f64,
3831 >;
3832 }
3833 extern "C" {
3834 #[link_name = "\u{1}_ZN16reaper_functions15joystick_updateE"]
3835 pub static mut joystick_update: ::std::option::Option<
3836 unsafe extern "C" fn(dev: *mut root::reaper_functions::joystick_device) -> bool,
3837 >;
3838 }
3839 extern "C" {
3840 #[link_name = "\u{1}_ZN16reaper_functions20kbd_enumerateActionsE"]
3841 pub static mut kbd_enumerateActions: ::std::option::Option<
3842 unsafe extern "C" fn(
3843 section: *mut root::KbdSectionInfo,
3844 idx: ::std::os::raw::c_int,
3845 nameOut: *mut *const ::std::os::raw::c_char,
3846 ) -> ::std::os::raw::c_int,
3847 >;
3848 }
3849 extern "C" {
3850 #[link_name = "\u{1}_ZN16reaper_functions17kbd_formatKeyNameE"]
3851 pub static mut kbd_formatKeyName: ::std::option::Option<
3852 unsafe extern "C" fn(ac: *mut root::ACCEL, s: *mut ::std::os::raw::c_char),
3853 >;
3854 }
3855 extern "C" {
3856 #[link_name = "\u{1}_ZN16reaper_functions18kbd_getCommandNameE"]
3857 pub static mut kbd_getCommandName: ::std::option::Option<
3858 unsafe extern "C" fn(
3859 cmd: ::std::os::raw::c_int,
3860 s: *mut ::std::os::raw::c_char,
3861 section: *mut root::KbdSectionInfo,
3862 ),
3863 >;
3864 }
3865 extern "C" {
3866 #[link_name = "\u{1}_ZN16reaper_functions18kbd_getTextFromCmdE"]
3867 pub static mut kbd_getTextFromCmd: ::std::option::Option<
3868 unsafe extern "C" fn(
3869 cmd: root::DWORD,
3870 section: *mut root::KbdSectionInfo,
3871 ) -> *const ::std::os::raw::c_char,
3872 >;
3873 }
3874 extern "C" {
3875 #[link_name = "\u{1}_ZN16reaper_functions18KBD_OnMainActionExE"]
3876 pub static mut KBD_OnMainActionEx: ::std::option::Option<
3877 unsafe extern "C" fn(
3878 cmd: ::std::os::raw::c_int,
3879 val: ::std::os::raw::c_int,
3880 valhw: ::std::os::raw::c_int,
3881 relmode: ::std::os::raw::c_int,
3882 hwnd: root::HWND,
3883 proj: *mut root::ReaProject,
3884 ) -> ::std::os::raw::c_int,
3885 >;
3886 }
3887 extern "C" {
3888 #[link_name = "\u{1}_ZN16reaper_functions15kbd_OnMidiEventE"]
3889 pub static mut kbd_OnMidiEvent: ::std::option::Option<
3890 unsafe extern "C" fn(
3891 evt: *mut root::MIDI_event_t,
3892 dev_index: ::std::os::raw::c_int,
3893 ),
3894 >;
3895 }
3896 extern "C" {
3897 #[link_name = "\u{1}_ZN16reaper_functions14kbd_OnMidiListE"]
3898 pub static mut kbd_OnMidiList: ::std::option::Option<
3899 unsafe extern "C" fn(
3900 list: *mut root::MIDI_eventlist,
3901 dev_index: ::std::os::raw::c_int,
3902 ),
3903 >;
3904 }
3905 extern "C" {
3906 #[link_name = "\u{1}_ZN16reaper_functions22kbd_ProcessActionsMenuE"]
3907 pub static mut kbd_ProcessActionsMenu: ::std::option::Option<
3908 unsafe extern "C" fn(menu: root::HMENU, section: *mut root::KbdSectionInfo),
3909 >;
3910 }
3911 extern "C" {
3912 #[link_name = "\u{1}_ZN16reaper_functions28kbd_processMidiEventActionExE"]
3913 pub static mut kbd_processMidiEventActionEx: ::std::option::Option<
3914 unsafe extern "C" fn(
3915 evt: *mut root::MIDI_event_t,
3916 section: *mut root::KbdSectionInfo,
3917 hwndCtx: root::HWND,
3918 ) -> bool,
3919 >;
3920 }
3921 extern "C" {
3922 #[link_name = "\u{1}_ZN16reaper_functions17kbd_reprocessMenuE"]
3923 pub static mut kbd_reprocessMenu: ::std::option::Option<
3924 unsafe extern "C" fn(menu: root::HMENU, section: *mut root::KbdSectionInfo),
3925 >;
3926 }
3927 extern "C" {
3928 #[link_name = "\u{1}_ZN16reaper_functions26kbd_RunCommandThroughHooksE"]
3929 pub static mut kbd_RunCommandThroughHooks: ::std::option::Option<
3930 unsafe extern "C" fn(
3931 section: *mut root::KbdSectionInfo,
3932 actionCommandID: *mut ::std::os::raw::c_int,
3933 val: *mut ::std::os::raw::c_int,
3934 valhw: *mut ::std::os::raw::c_int,
3935 relmode: *mut ::std::os::raw::c_int,
3936 hwnd: root::HWND,
3937 ) -> bool,
3938 >;
3939 }
3940 extern "C" {
3941 #[link_name = "\u{1}_ZN16reaper_functions24kbd_translateAcceleratorE"]
3942 pub static mut kbd_translateAccelerator: ::std::option::Option<
3943 unsafe extern "C" fn(
3944 hwnd: root::HWND,
3945 msg: *mut root::MSG,
3946 section: *mut root::KbdSectionInfo,
3947 ) -> ::std::os::raw::c_int,
3948 >;
3949 }
3950 extern "C" {
3951 #[link_name = "\u{1}_ZN16reaper_functions18kbd_translateMouseE"]
3952 pub static mut kbd_translateMouse: ::std::option::Option<
3953 unsafe extern "C" fn(
3954 winmsg: *mut ::std::os::raw::c_void,
3955 midimsg: *mut ::std::os::raw::c_uchar,
3956 ) -> bool,
3957 >;
3958 }
3959 extern "C" {
3960 #[link_name = "\u{1}_ZN16reaper_functions13LICE__DestroyE"]
3961 pub static mut LICE__Destroy: ::std::option::Option<
3962 unsafe extern "C" fn(bm: *mut root::reaper_functions::LICE_IBitmap),
3963 >;
3964 }
3965 extern "C" {
3966 #[link_name = "\u{1}_ZN16reaper_functions17LICE__DestroyFontE"]
3967 pub static mut LICE__DestroyFont: ::std::option::Option<
3968 unsafe extern "C" fn(font: *mut root::reaper_functions::LICE_IFont),
3969 >;
3970 }
3971 extern "C" {
3972 #[link_name = "\u{1}_ZN16reaper_functions14LICE__DrawTextE"]
3973 pub static mut LICE__DrawText: ::std::option::Option<
3974 unsafe extern "C" fn(
3975 font: *mut root::reaper_functions::LICE_IFont,
3976 bm: *mut root::reaper_functions::LICE_IBitmap,
3977 str: *const ::std::os::raw::c_char,
3978 strcnt: ::std::os::raw::c_int,
3979 rect: *mut root::RECT,
3980 dtFlags: root::UINT,
3981 ) -> ::std::os::raw::c_int,
3982 >;
3983 }
3984 extern "C" {
3985 #[link_name = "\u{1}_ZN16reaper_functions13LICE__GetBitsE"]
3986 pub static mut LICE__GetBits: ::std::option::Option<
3987 unsafe extern "C" fn(
3988 bm: *mut root::reaper_functions::LICE_IBitmap,
3989 ) -> *mut ::std::os::raw::c_void,
3990 >;
3991 }
3992 extern "C" {
3993 #[link_name = "\u{1}_ZN16reaper_functions11LICE__GetDCE"]
3994 pub static mut LICE__GetDC: ::std::option::Option<
3995 unsafe extern "C" fn(bm: *mut root::reaper_functions::LICE_IBitmap) -> root::HDC,
3996 >;
3997 }
3998 extern "C" {
3999 #[link_name = "\u{1}_ZN16reaper_functions15LICE__GetHeightE"]
4000 pub static mut LICE__GetHeight: ::std::option::Option<
4001 unsafe extern "C" fn(
4002 bm: *mut root::reaper_functions::LICE_IBitmap,
4003 ) -> ::std::os::raw::c_int,
4004 >;
4005 }
4006 extern "C" {
4007 #[link_name = "\u{1}_ZN16reaper_functions16LICE__GetRowSpanE"]
4008 pub static mut LICE__GetRowSpan: ::std::option::Option<
4009 unsafe extern "C" fn(
4010 bm: *mut root::reaper_functions::LICE_IBitmap,
4011 ) -> ::std::os::raw::c_int,
4012 >;
4013 }
4014 extern "C" {
4015 #[link_name = "\u{1}_ZN16reaper_functions14LICE__GetWidthE"]
4016 pub static mut LICE__GetWidth: ::std::option::Option<
4017 unsafe extern "C" fn(
4018 bm: *mut root::reaper_functions::LICE_IBitmap,
4019 ) -> ::std::os::raw::c_int,
4020 >;
4021 }
4022 extern "C" {
4023 #[link_name = "\u{1}_ZN16reaper_functions15LICE__IsFlippedE"]
4024 pub static mut LICE__IsFlipped: ::std::option::Option<
4025 unsafe extern "C" fn(bm: *mut root::reaper_functions::LICE_IBitmap) -> bool,
4026 >;
4027 }
4028 extern "C" {
4029 #[link_name = "\u{1}_ZN16reaper_functions12LICE__resizeE"]
4030 pub static mut LICE__resize: ::std::option::Option<
4031 unsafe extern "C" fn(
4032 bm: *mut root::reaper_functions::LICE_IBitmap,
4033 w: ::std::os::raw::c_int,
4034 h: ::std::os::raw::c_int,
4035 ) -> bool,
4036 >;
4037 }
4038 extern "C" {
4039 #[link_name = "\u{1}_ZN16reaper_functions16LICE__SetBkColorE"]
4040 pub static mut LICE__SetBkColor: ::std::option::Option<
4041 unsafe extern "C" fn(
4042 font: *mut root::reaper_functions::LICE_IFont,
4043 color: root::reaper_functions::LICE_pixel,
4044 ) -> root::reaper_functions::LICE_pixel,
4045 >;
4046 }
4047 extern "C" {
4048 #[link_name = "\u{1}_ZN16reaper_functions18LICE__SetFromHFontE"]
4049 pub static mut LICE__SetFromHFont: ::std::option::Option<
4050 unsafe extern "C" fn(
4051 font: *mut root::reaper_functions::LICE_IFont,
4052 hfont: root::HFONT,
4053 flags: ::std::os::raw::c_int,
4054 ),
4055 >;
4056 }
4057 extern "C" {
4058 #[link_name = "\u{1}_ZN16reaper_functions18LICE__SetTextColorE"]
4059 pub static mut LICE__SetTextColor: ::std::option::Option<
4060 unsafe extern "C" fn(
4061 font: *mut root::reaper_functions::LICE_IFont,
4062 color: root::reaper_functions::LICE_pixel,
4063 ) -> root::reaper_functions::LICE_pixel,
4064 >;
4065 }
4066 extern "C" {
4067 #[link_name = "\u{1}_ZN16reaper_functions24LICE__SetTextCombineModeE"]
4068 pub static mut LICE__SetTextCombineMode: ::std::option::Option<
4069 unsafe extern "C" fn(
4070 ifont: *mut root::reaper_functions::LICE_IFont,
4071 mode: ::std::os::raw::c_int,
4072 alpha: f32,
4073 ),
4074 >;
4075 }
4076 extern "C" {
4077 #[link_name = "\u{1}_ZN16reaper_functions8LICE_ArcE"]
4078 pub static mut LICE_Arc: ::std::option::Option<
4079 unsafe extern "C" fn(
4080 dest: *mut root::reaper_functions::LICE_IBitmap,
4081 cx: f32,
4082 cy: f32,
4083 r: f32,
4084 minAngle: f32,
4085 maxAngle: f32,
4086 color: root::reaper_functions::LICE_pixel,
4087 alpha: f32,
4088 mode: ::std::os::raw::c_int,
4089 aa: bool,
4090 ),
4091 >;
4092 }
4093 extern "C" {
4094 #[link_name = "\u{1}_ZN16reaper_functions9LICE_BlitE"]
4095 pub static mut LICE_Blit: ::std::option::Option<
4096 unsafe extern "C" fn(
4097 dest: *mut root::reaper_functions::LICE_IBitmap,
4098 src: *mut root::reaper_functions::LICE_IBitmap,
4099 dstx: ::std::os::raw::c_int,
4100 dsty: ::std::os::raw::c_int,
4101 srcx: ::std::os::raw::c_int,
4102 srcy: ::std::os::raw::c_int,
4103 srcw: ::std::os::raw::c_int,
4104 srch: ::std::os::raw::c_int,
4105 alpha: f32,
4106 mode: ::std::os::raw::c_int,
4107 ),
4108 >;
4109 }
4110 extern "C" {
4111 #[link_name = "\u{1}_ZN16reaper_functions9LICE_BlurE"]
4112 pub static mut LICE_Blur: ::std::option::Option<
4113 unsafe extern "C" fn(
4114 dest: *mut root::reaper_functions::LICE_IBitmap,
4115 src: *mut root::reaper_functions::LICE_IBitmap,
4116 dstx: ::std::os::raw::c_int,
4117 dsty: ::std::os::raw::c_int,
4118 srcx: ::std::os::raw::c_int,
4119 srcy: ::std::os::raw::c_int,
4120 srcw: ::std::os::raw::c_int,
4121 srch: ::std::os::raw::c_int,
4122 ),
4123 >;
4124 }
4125 extern "C" {
4126 #[link_name = "\u{1}_ZN16reaper_functions17LICE_BorderedRectE"]
4127 pub static mut LICE_BorderedRect: ::std::option::Option<
4128 unsafe extern "C" fn(
4129 dest: *mut root::reaper_functions::LICE_IBitmap,
4130 x: ::std::os::raw::c_int,
4131 y: ::std::os::raw::c_int,
4132 w: ::std::os::raw::c_int,
4133 h: ::std::os::raw::c_int,
4134 bgcolor: root::reaper_functions::LICE_pixel,
4135 fgcolor: root::reaper_functions::LICE_pixel,
4136 alpha: f32,
4137 mode: ::std::os::raw::c_int,
4138 ),
4139 >;
4140 }
4141 extern "C" {
4142 #[link_name = "\u{1}_ZN16reaper_functions11LICE_CircleE"]
4143 pub static mut LICE_Circle: ::std::option::Option<
4144 unsafe extern "C" fn(
4145 dest: *mut root::reaper_functions::LICE_IBitmap,
4146 cx: f32,
4147 cy: f32,
4148 r: f32,
4149 color: root::reaper_functions::LICE_pixel,
4150 alpha: f32,
4151 mode: ::std::os::raw::c_int,
4152 aa: bool,
4153 ),
4154 >;
4155 }
4156 extern "C" {
4157 #[link_name = "\u{1}_ZN16reaper_functions10LICE_ClearE"]
4158 pub static mut LICE_Clear: ::std::option::Option<
4159 unsafe extern "C" fn(
4160 dest: *mut root::reaper_functions::LICE_IBitmap,
4161 color: root::reaper_functions::LICE_pixel,
4162 ),
4163 >;
4164 }
4165 extern "C" {
4166 #[link_name = "\u{1}_ZN16reaper_functions14LICE_ClearRectE"]
4167 pub static mut LICE_ClearRect: ::std::option::Option<
4168 unsafe extern "C" fn(
4169 dest: *mut root::reaper_functions::LICE_IBitmap,
4170 x: ::std::os::raw::c_int,
4171 y: ::std::os::raw::c_int,
4172 w: ::std::os::raw::c_int,
4173 h: ::std::os::raw::c_int,
4174 mask: root::reaper_functions::LICE_pixel,
4175 orbits: root::reaper_functions::LICE_pixel,
4176 ),
4177 >;
4178 }
4179 extern "C" {
4180 #[link_name = "\u{1}_ZN16reaper_functions13LICE_ClipLineE"]
4181 pub static mut LICE_ClipLine: ::std::option::Option<
4182 unsafe extern "C" fn(
4183 pX1Out: *mut ::std::os::raw::c_int,
4184 pY1Out: *mut ::std::os::raw::c_int,
4185 pX2Out: *mut ::std::os::raw::c_int,
4186 pY2Out: *mut ::std::os::raw::c_int,
4187 xLo: ::std::os::raw::c_int,
4188 yLo: ::std::os::raw::c_int,
4189 xHi: ::std::os::raw::c_int,
4190 yHi: ::std::os::raw::c_int,
4191 ) -> bool,
4192 >;
4193 }
4194 extern "C" {
4195 #[link_name = "\u{1}_ZN16reaper_functions9LICE_CopyE"]
4196 pub static mut LICE_Copy: ::std::option::Option<
4197 unsafe extern "C" fn(
4198 dest: *mut root::reaper_functions::LICE_IBitmap,
4199 src: *mut root::reaper_functions::LICE_IBitmap,
4200 ),
4201 >;
4202 }
4203 extern "C" {
4204 #[link_name = "\u{1}_ZN16reaper_functions17LICE_CreateBitmapE"]
4205 pub static mut LICE_CreateBitmap: ::std::option::Option<
4206 unsafe extern "C" fn(
4207 mode: ::std::os::raw::c_int,
4208 w: ::std::os::raw::c_int,
4209 h: ::std::os::raw::c_int,
4210 ) -> *mut root::reaper_functions::LICE_IBitmap,
4211 >;
4212 }
4213 extern "C" {
4214 #[link_name = "\u{1}_ZN16reaper_functions15LICE_CreateFontE"]
4215 pub static mut LICE_CreateFont: ::std::option::Option<
4216 unsafe extern "C" fn() -> *mut root::reaper_functions::LICE_IFont,
4217 >;
4218 }
4219 extern "C" {
4220 #[link_name = "\u{1}_ZN16reaper_functions16LICE_DrawCBezierE"]
4221 pub static mut LICE_DrawCBezier: ::std::option::Option<
4222 unsafe extern "C" fn(
4223 dest: *mut root::reaper_functions::LICE_IBitmap,
4224 xstart: f64,
4225 ystart: f64,
4226 xctl1: f64,
4227 yctl1: f64,
4228 xctl2: f64,
4229 yctl2: f64,
4230 xend: f64,
4231 yend: f64,
4232 color: root::reaper_functions::LICE_pixel,
4233 alpha: f32,
4234 mode: ::std::os::raw::c_int,
4235 aa: bool,
4236 tol: f64,
4237 ),
4238 >;
4239 }
4240 extern "C" {
4241 #[link_name = "\u{1}_ZN16reaper_functions13LICE_DrawCharE"]
4242 pub static mut LICE_DrawChar: ::std::option::Option<
4243 unsafe extern "C" fn(
4244 bm: *mut root::reaper_functions::LICE_IBitmap,
4245 x: ::std::os::raw::c_int,
4246 y: ::std::os::raw::c_int,
4247 c: ::std::os::raw::c_char,
4248 color: root::reaper_functions::LICE_pixel,
4249 alpha: f32,
4250 mode: ::std::os::raw::c_int,
4251 ),
4252 >;
4253 }
4254 extern "C" {
4255 #[link_name = "\u{1}_ZN16reaper_functions14LICE_DrawGlyphE"]
4256 pub static mut LICE_DrawGlyph: ::std::option::Option<
4257 unsafe extern "C" fn(
4258 dest: *mut root::reaper_functions::LICE_IBitmap,
4259 x: ::std::os::raw::c_int,
4260 y: ::std::os::raw::c_int,
4261 color: root::reaper_functions::LICE_pixel,
4262 alphas: *mut root::reaper_functions::LICE_pixel_chan,
4263 glyph_w: ::std::os::raw::c_int,
4264 glyph_h: ::std::os::raw::c_int,
4265 alpha: f32,
4266 mode: ::std::os::raw::c_int,
4267 ),
4268 >;
4269 }
4270 extern "C" {
4271 #[link_name = "\u{1}_ZN16reaper_functions13LICE_DrawRectE"]
4272 pub static mut LICE_DrawRect: ::std::option::Option<
4273 unsafe extern "C" fn(
4274 dest: *mut root::reaper_functions::LICE_IBitmap,
4275 x: ::std::os::raw::c_int,
4276 y: ::std::os::raw::c_int,
4277 w: ::std::os::raw::c_int,
4278 h: ::std::os::raw::c_int,
4279 color: root::reaper_functions::LICE_pixel,
4280 alpha: f32,
4281 mode: ::std::os::raw::c_int,
4282 ),
4283 >;
4284 }
4285 extern "C" {
4286 #[link_name = "\u{1}_ZN16reaper_functions13LICE_DrawTextE"]
4287 pub static mut LICE_DrawText: ::std::option::Option<
4288 unsafe extern "C" fn(
4289 bm: *mut root::reaper_functions::LICE_IBitmap,
4290 x: ::std::os::raw::c_int,
4291 y: ::std::os::raw::c_int,
4292 string: *const ::std::os::raw::c_char,
4293 color: root::reaper_functions::LICE_pixel,
4294 alpha: f32,
4295 mode: ::std::os::raw::c_int,
4296 ),
4297 >;
4298 }
4299 extern "C" {
4300 #[link_name = "\u{1}_ZN16reaper_functions16LICE_FillCBezierE"]
4301 pub static mut LICE_FillCBezier: ::std::option::Option<
4302 unsafe extern "C" fn(
4303 dest: *mut root::reaper_functions::LICE_IBitmap,
4304 xstart: f64,
4305 ystart: f64,
4306 xctl1: f64,
4307 yctl1: f64,
4308 xctl2: f64,
4309 yctl2: f64,
4310 xend: f64,
4311 yend: f64,
4312 yfill: ::std::os::raw::c_int,
4313 color: root::reaper_functions::LICE_pixel,
4314 alpha: f32,
4315 mode: ::std::os::raw::c_int,
4316 aa: bool,
4317 tol: f64,
4318 ),
4319 >;
4320 }
4321 extern "C" {
4322 #[link_name = "\u{1}_ZN16reaper_functions15LICE_FillCircleE"]
4323 pub static mut LICE_FillCircle: ::std::option::Option<
4324 unsafe extern "C" fn(
4325 dest: *mut root::reaper_functions::LICE_IBitmap,
4326 cx: f32,
4327 cy: f32,
4328 r: f32,
4329 color: root::reaper_functions::LICE_pixel,
4330 alpha: f32,
4331 mode: ::std::os::raw::c_int,
4332 aa: bool,
4333 ),
4334 >;
4335 }
4336 extern "C" {
4337 #[link_name = "\u{1}_ZN16reaper_functions22LICE_FillConvexPolygonE"]
4338 pub static mut LICE_FillConvexPolygon: ::std::option::Option<
4339 unsafe extern "C" fn(
4340 dest: *mut root::reaper_functions::LICE_IBitmap,
4341 x: *mut ::std::os::raw::c_int,
4342 y: *mut ::std::os::raw::c_int,
4343 npoints: ::std::os::raw::c_int,
4344 color: root::reaper_functions::LICE_pixel,
4345 alpha: f32,
4346 mode: ::std::os::raw::c_int,
4347 ),
4348 >;
4349 }
4350 extern "C" {
4351 #[link_name = "\u{1}_ZN16reaper_functions13LICE_FillRectE"]
4352 pub static mut LICE_FillRect: ::std::option::Option<
4353 unsafe extern "C" fn(
4354 dest: *mut root::reaper_functions::LICE_IBitmap,
4355 x: ::std::os::raw::c_int,
4356 y: ::std::os::raw::c_int,
4357 w: ::std::os::raw::c_int,
4358 h: ::std::os::raw::c_int,
4359 color: root::reaper_functions::LICE_pixel,
4360 alpha: f32,
4361 mode: ::std::os::raw::c_int,
4362 ),
4363 >;
4364 }
4365 extern "C" {
4366 #[link_name = "\u{1}_ZN16reaper_functions18LICE_FillTrapezoidE"]
4367 pub static mut LICE_FillTrapezoid: ::std::option::Option<
4368 unsafe extern "C" fn(
4369 dest: *mut root::reaper_functions::LICE_IBitmap,
4370 x1a: ::std::os::raw::c_int,
4371 x1b: ::std::os::raw::c_int,
4372 y1: ::std::os::raw::c_int,
4373 x2a: ::std::os::raw::c_int,
4374 x2b: ::std::os::raw::c_int,
4375 y2: ::std::os::raw::c_int,
4376 color: root::reaper_functions::LICE_pixel,
4377 alpha: f32,
4378 mode: ::std::os::raw::c_int,
4379 ),
4380 >;
4381 }
4382 extern "C" {
4383 #[link_name = "\u{1}_ZN16reaper_functions17LICE_FillTriangleE"]
4384 pub static mut LICE_FillTriangle: ::std::option::Option<
4385 unsafe extern "C" fn(
4386 dest: *mut root::reaper_functions::LICE_IBitmap,
4387 x1: ::std::os::raw::c_int,
4388 y1: ::std::os::raw::c_int,
4389 x2: ::std::os::raw::c_int,
4390 y2: ::std::os::raw::c_int,
4391 x3: ::std::os::raw::c_int,
4392 y3: ::std::os::raw::c_int,
4393 color: root::reaper_functions::LICE_pixel,
4394 alpha: f32,
4395 mode: ::std::os::raw::c_int,
4396 ),
4397 >;
4398 }
4399 extern "C" {
4400 #[link_name = "\u{1}_ZN16reaper_functions13LICE_GetPixelE"]
4401 pub static mut LICE_GetPixel: ::std::option::Option<
4402 unsafe extern "C" fn(
4403 bm: *mut root::reaper_functions::LICE_IBitmap,
4404 x: ::std::os::raw::c_int,
4405 y: ::std::os::raw::c_int,
4406 ) -> root::reaper_functions::LICE_pixel,
4407 >;
4408 }
4409 extern "C" {
4410 #[link_name = "\u{1}_ZN16reaper_functions13LICE_GradRectE"]
4411 pub static mut LICE_GradRect: ::std::option::Option<
4412 unsafe extern "C" fn(
4413 dest: *mut root::reaper_functions::LICE_IBitmap,
4414 dstx: ::std::os::raw::c_int,
4415 dsty: ::std::os::raw::c_int,
4416 dstw: ::std::os::raw::c_int,
4417 dsth: ::std::os::raw::c_int,
4418 ir: f32,
4419 ig: f32,
4420 ib: f32,
4421 ia: f32,
4422 drdx: f32,
4423 dgdx: f32,
4424 dbdx: f32,
4425 dadx: f32,
4426 drdy: f32,
4427 dgdy: f32,
4428 dbdy: f32,
4429 dady: f32,
4430 mode: ::std::os::raw::c_int,
4431 ),
4432 >;
4433 }
4434 extern "C" {
4435 #[link_name = "\u{1}_ZN16reaper_functions9LICE_LineE"]
4436 pub static mut LICE_Line: ::std::option::Option<
4437 unsafe extern "C" fn(
4438 dest: *mut root::reaper_functions::LICE_IBitmap,
4439 x1: f32,
4440 y1: f32,
4441 x2: f32,
4442 y2: f32,
4443 color: root::reaper_functions::LICE_pixel,
4444 alpha: f32,
4445 mode: ::std::os::raw::c_int,
4446 aa: bool,
4447 ),
4448 >;
4449 }
4450 extern "C" {
4451 #[link_name = "\u{1}_ZN16reaper_functions12LICE_LineIntE"]
4452 pub static mut LICE_LineInt: ::std::option::Option<
4453 unsafe extern "C" fn(
4454 dest: *mut root::reaper_functions::LICE_IBitmap,
4455 x1: ::std::os::raw::c_int,
4456 y1: ::std::os::raw::c_int,
4457 x2: ::std::os::raw::c_int,
4458 y2: ::std::os::raw::c_int,
4459 color: root::reaper_functions::LICE_pixel,
4460 alpha: f32,
4461 mode: ::std::os::raw::c_int,
4462 aa: bool,
4463 ),
4464 >;
4465 }
4466 extern "C" {
4467 #[link_name = "\u{1}_ZN16reaper_functions12LICE_LoadPNGE"]
4468 pub static mut LICE_LoadPNG: ::std::option::Option<
4469 unsafe extern "C" fn(
4470 filename: *const ::std::os::raw::c_char,
4471 bmp: *mut root::reaper_functions::LICE_IBitmap,
4472 ) -> *mut root::reaper_functions::LICE_IBitmap,
4473 >;
4474 }
4475 extern "C" {
4476 #[link_name = "\u{1}_ZN16reaper_functions24LICE_LoadPNGFromResourceE"]
4477 pub static mut LICE_LoadPNGFromResource: ::std::option::Option<
4478 unsafe extern "C" fn(
4479 hInst: root::HINSTANCE,
4480 resid: *const ::std::os::raw::c_char,
4481 bmp: *mut root::reaper_functions::LICE_IBitmap,
4482 ) -> *mut root::reaper_functions::LICE_IBitmap,
4483 >;
4484 }
4485 extern "C" {
4486 #[link_name = "\u{1}_ZN16reaper_functions16LICE_MeasureTextE"]
4487 pub static mut LICE_MeasureText: ::std::option::Option<
4488 unsafe extern "C" fn(
4489 string: *const ::std::os::raw::c_char,
4490 w: *mut ::std::os::raw::c_int,
4491 h: *mut ::std::os::raw::c_int,
4492 ),
4493 >;
4494 }
4495 extern "C" {
4496 #[link_name = "\u{1}_ZN16reaper_functions20LICE_MultiplyAddRectE"]
4497 pub static mut LICE_MultiplyAddRect: ::std::option::Option<
4498 unsafe extern "C" fn(
4499 dest: *mut root::reaper_functions::LICE_IBitmap,
4500 x: ::std::os::raw::c_int,
4501 y: ::std::os::raw::c_int,
4502 w: ::std::os::raw::c_int,
4503 h: ::std::os::raw::c_int,
4504 rsc: f32,
4505 gsc: f32,
4506 bsc: f32,
4507 asc: f32,
4508 radd: f32,
4509 gadd: f32,
4510 badd: f32,
4511 aadd: f32,
4512 ),
4513 >;
4514 }
4515 extern "C" {
4516 #[link_name = "\u{1}_ZN16reaper_functions13LICE_PutPixelE"]
4517 pub static mut LICE_PutPixel: ::std::option::Option<
4518 unsafe extern "C" fn(
4519 bm: *mut root::reaper_functions::LICE_IBitmap,
4520 x: ::std::os::raw::c_int,
4521 y: ::std::os::raw::c_int,
4522 color: root::reaper_functions::LICE_pixel,
4523 alpha: f32,
4524 mode: ::std::os::raw::c_int,
4525 ),
4526 >;
4527 }
4528 extern "C" {
4529 #[link_name = "\u{1}_ZN16reaper_functions16LICE_RotatedBlitE"]
4530 pub static mut LICE_RotatedBlit: ::std::option::Option<
4531 unsafe extern "C" fn(
4532 dest: *mut root::reaper_functions::LICE_IBitmap,
4533 src: *mut root::reaper_functions::LICE_IBitmap,
4534 dstx: ::std::os::raw::c_int,
4535 dsty: ::std::os::raw::c_int,
4536 dstw: ::std::os::raw::c_int,
4537 dsth: ::std::os::raw::c_int,
4538 srcx: f32,
4539 srcy: f32,
4540 srcw: f32,
4541 srch: f32,
4542 angle: f32,
4543 cliptosourcerect: bool,
4544 alpha: f32,
4545 mode: ::std::os::raw::c_int,
4546 rotxcent: f32,
4547 rotycent: f32,
4548 ),
4549 >;
4550 }
4551 extern "C" {
4552 #[link_name = "\u{1}_ZN16reaper_functions14LICE_RoundRectE"]
4553 pub static mut LICE_RoundRect: ::std::option::Option<
4554 unsafe extern "C" fn(
4555 drawbm: *mut root::reaper_functions::LICE_IBitmap,
4556 xpos: f32,
4557 ypos: f32,
4558 w: f32,
4559 h: f32,
4560 cornerradius: ::std::os::raw::c_int,
4561 col: root::reaper_functions::LICE_pixel,
4562 alpha: f32,
4563 mode: ::std::os::raw::c_int,
4564 aa: bool,
4565 ),
4566 >;
4567 }
4568 extern "C" {
4569 #[link_name = "\u{1}_ZN16reaper_functions15LICE_ScaledBlitE"]
4570 pub static mut LICE_ScaledBlit: ::std::option::Option<
4571 unsafe extern "C" fn(
4572 dest: *mut root::reaper_functions::LICE_IBitmap,
4573 src: *mut root::reaper_functions::LICE_IBitmap,
4574 dstx: ::std::os::raw::c_int,
4575 dsty: ::std::os::raw::c_int,
4576 dstw: ::std::os::raw::c_int,
4577 dsth: ::std::os::raw::c_int,
4578 srcx: f32,
4579 srcy: f32,
4580 srcw: f32,
4581 srch: f32,
4582 alpha: f32,
4583 mode: ::std::os::raw::c_int,
4584 ),
4585 >;
4586 }
4587 extern "C" {
4588 #[link_name = "\u{1}_ZN16reaper_functions15LICE_SimpleFillE"]
4589 pub static mut LICE_SimpleFill: ::std::option::Option<
4590 unsafe extern "C" fn(
4591 dest: *mut root::reaper_functions::LICE_IBitmap,
4592 x: ::std::os::raw::c_int,
4593 y: ::std::os::raw::c_int,
4594 newcolor: root::reaper_functions::LICE_pixel,
4595 comparemask: root::reaper_functions::LICE_pixel,
4596 keepmask: root::reaper_functions::LICE_pixel,
4597 ),
4598 >;
4599 }
4600 extern "C" {
4601 #[link_name = "\u{1}_ZN16reaper_functions12Loop_OnArrowE"]
4602 pub static mut Loop_OnArrow: ::std::option::Option<
4603 unsafe extern "C" fn(
4604 project: *mut root::ReaProject,
4605 direction: ::std::os::raw::c_int,
4606 ) -> bool,
4607 >;
4608 }
4609 extern "C" {
4610 #[link_name = "\u{1}_ZN16reaper_functions14Main_OnCommandE"]
4611 pub static mut Main_OnCommand: ::std::option::Option<
4612 unsafe extern "C" fn(command: ::std::os::raw::c_int, flag: ::std::os::raw::c_int),
4613 >;
4614 }
4615 extern "C" {
4616 #[link_name = "\u{1}_ZN16reaper_functions16Main_OnCommandExE"]
4617 pub static mut Main_OnCommandEx: ::std::option::Option<
4618 unsafe extern "C" fn(
4619 command: ::std::os::raw::c_int,
4620 flag: ::std::os::raw::c_int,
4621 proj: *mut root::ReaProject,
4622 ),
4623 >;
4624 }
4625 extern "C" {
4626 #[link_name = "\u{1}_ZN16reaper_functions16Main_openProjectE"]
4627 pub static mut Main_openProject:
4628 ::std::option::Option<unsafe extern "C" fn(name: *const ::std::os::raw::c_char)>;
4629 }
4630 extern "C" {
4631 #[link_name = "\u{1}_ZN16reaper_functions16Main_SaveProjectE"]
4632 pub static mut Main_SaveProject: ::std::option::Option<
4633 unsafe extern "C" fn(proj: *mut root::ReaProject, forceSaveAsInOptional: bool),
4634 >;
4635 }
4636 extern "C" {
4637 #[link_name = "\u{1}_ZN16reaper_functions19Main_UpdateLoopInfoE"]
4638 pub static mut Main_UpdateLoopInfo:
4639 ::std::option::Option<unsafe extern "C" fn(ignoremask: ::std::os::raw::c_int)>;
4640 }
4641 extern "C" {
4642 #[link_name = "\u{1}_ZN16reaper_functions16MarkProjectDirtyE"]
4643 pub static mut MarkProjectDirty:
4644 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject)>;
4645 }
4646 extern "C" {
4647 #[link_name = "\u{1}_ZN16reaper_functions19MarkTrackItemsDirtyE"]
4648 pub static mut MarkTrackItemsDirty: ::std::option::Option<
4649 unsafe extern "C" fn(track: *mut root::MediaTrack, item: *mut root::MediaItem),
4650 >;
4651 }
4652 extern "C" {
4653 #[link_name = "\u{1}_ZN16reaper_functions18Master_GetPlayRateE"]
4654 pub static mut Master_GetPlayRate:
4655 ::std::option::Option<unsafe extern "C" fn(project: *mut root::ReaProject) -> f64>;
4656 }
4657 extern "C" {
4658 #[link_name = "\u{1}_ZN16reaper_functions24Master_GetPlayRateAtTimeE"]
4659 pub static mut Master_GetPlayRateAtTime: ::std::option::Option<
4660 unsafe extern "C" fn(time_s: f64, proj: *mut root::ReaProject) -> f64,
4661 >;
4662 }
4663 extern "C" {
4664 #[link_name = "\u{1}_ZN16reaper_functions15Master_GetTempoE"]
4665 pub static mut Master_GetTempo: ::std::option::Option<unsafe extern "C" fn() -> f64>;
4666 }
4667 extern "C" {
4668 #[link_name = "\u{1}_ZN16reaper_functions24Master_NormalizePlayRateE"]
4669 pub static mut Master_NormalizePlayRate: ::std::option::Option<
4670 unsafe extern "C" fn(playrate: f64, isnormalized: bool) -> f64,
4671 >;
4672 }
4673 extern "C" {
4674 #[link_name = "\u{1}_ZN16reaper_functions21Master_NormalizeTempoE"]
4675 pub static mut Master_NormalizeTempo:
4676 ::std::option::Option<unsafe extern "C" fn(bpm: f64, isnormalized: bool) -> f64>;
4677 }
4678 extern "C" {
4679 #[link_name = "\u{1}_ZN16reaper_functions2MBE"]
4680 pub static mut MB: ::std::option::Option<
4681 unsafe extern "C" fn(
4682 msg: *const ::std::os::raw::c_char,
4683 title: *const ::std::os::raw::c_char,
4684 type_: ::std::os::raw::c_int,
4685 ) -> ::std::os::raw::c_int,
4686 >;
4687 }
4688 extern "C" {
4689 #[link_name = "\u{1}_ZN16reaper_functions26MediaItemDescendsFromTrackE"]
4690 pub static mut MediaItemDescendsFromTrack: ::std::option::Option<
4691 unsafe extern "C" fn(
4692 item: *mut root::MediaItem,
4693 track: *mut root::MediaTrack,
4694 ) -> ::std::os::raw::c_int,
4695 >;
4696 }
4697 extern "C" {
4698 #[link_name = "\u{1}_ZN16reaper_functions14MIDI_CountEvtsE"]
4699 pub static mut MIDI_CountEvts: ::std::option::Option<
4700 unsafe extern "C" fn(
4701 take: *mut root::MediaItem_Take,
4702 notecntOut: *mut ::std::os::raw::c_int,
4703 ccevtcntOut: *mut ::std::os::raw::c_int,
4704 textsyxevtcntOut: *mut ::std::os::raw::c_int,
4705 ) -> ::std::os::raw::c_int,
4706 >;
4707 }
4708 extern "C" {
4709 #[link_name = "\u{1}_ZN16reaper_functions13MIDI_DeleteCCE"]
4710 pub static mut MIDI_DeleteCC: ::std::option::Option<
4711 unsafe extern "C" fn(
4712 take: *mut root::MediaItem_Take,
4713 ccidx: ::std::os::raw::c_int,
4714 ) -> bool,
4715 >;
4716 }
4717 extern "C" {
4718 #[link_name = "\u{1}_ZN16reaper_functions14MIDI_DeleteEvtE"]
4719 pub static mut MIDI_DeleteEvt: ::std::option::Option<
4720 unsafe extern "C" fn(
4721 take: *mut root::MediaItem_Take,
4722 evtidx: ::std::os::raw::c_int,
4723 ) -> bool,
4724 >;
4725 }
4726 extern "C" {
4727 #[link_name = "\u{1}_ZN16reaper_functions15MIDI_DeleteNoteE"]
4728 pub static mut MIDI_DeleteNote: ::std::option::Option<
4729 unsafe extern "C" fn(
4730 take: *mut root::MediaItem_Take,
4731 noteidx: ::std::os::raw::c_int,
4732 ) -> bool,
4733 >;
4734 }
4735 extern "C" {
4736 #[link_name = "\u{1}_ZN16reaper_functions23MIDI_DeleteTextSysexEvtE"]
4737 pub static mut MIDI_DeleteTextSysexEvt: ::std::option::Option<
4738 unsafe extern "C" fn(
4739 take: *mut root::MediaItem_Take,
4740 textsyxevtidx: ::std::os::raw::c_int,
4741 ) -> bool,
4742 >;
4743 }
4744 extern "C" {
4745 #[link_name = "\u{1}_ZN16reaper_functions16MIDI_DisableSortE"]
4746 pub static mut MIDI_DisableSort:
4747 ::std::option::Option<unsafe extern "C" fn(take: *mut root::MediaItem_Take)>;
4748 }
4749 extern "C" {
4750 #[link_name = "\u{1}_ZN16reaper_functions14MIDI_EnumSelCCE"]
4751 pub static mut MIDI_EnumSelCC: ::std::option::Option<
4752 unsafe extern "C" fn(
4753 take: *mut root::MediaItem_Take,
4754 ccidx: ::std::os::raw::c_int,
4755 ) -> ::std::os::raw::c_int,
4756 >;
4757 }
4758 extern "C" {
4759 #[link_name = "\u{1}_ZN16reaper_functions16MIDI_EnumSelEvtsE"]
4760 pub static mut MIDI_EnumSelEvts: ::std::option::Option<
4761 unsafe extern "C" fn(
4762 take: *mut root::MediaItem_Take,
4763 evtidx: ::std::os::raw::c_int,
4764 ) -> ::std::os::raw::c_int,
4765 >;
4766 }
4767 extern "C" {
4768 #[link_name = "\u{1}_ZN16reaper_functions17MIDI_EnumSelNotesE"]
4769 pub static mut MIDI_EnumSelNotes: ::std::option::Option<
4770 unsafe extern "C" fn(
4771 take: *mut root::MediaItem_Take,
4772 noteidx: ::std::os::raw::c_int,
4773 ) -> ::std::os::raw::c_int,
4774 >;
4775 }
4776 extern "C" {
4777 #[link_name = "\u{1}_ZN16reaper_functions25MIDI_EnumSelTextSysexEvtsE"]
4778 pub static mut MIDI_EnumSelTextSysexEvts: ::std::option::Option<
4779 unsafe extern "C" fn(
4780 take: *mut root::MediaItem_Take,
4781 textsyxidx: ::std::os::raw::c_int,
4782 ) -> ::std::os::raw::c_int,
4783 >;
4784 }
4785 extern "C" {
4786 #[link_name = "\u{1}_ZN16reaper_functions21MIDI_eventlist_CreateE"]
4787 pub static mut MIDI_eventlist_Create:
4788 ::std::option::Option<unsafe extern "C" fn() -> *mut root::MIDI_eventlist>;
4789 }
4790 extern "C" {
4791 #[link_name = "\u{1}_ZN16reaper_functions22MIDI_eventlist_DestroyE"]
4792 pub static mut MIDI_eventlist_Destroy:
4793 ::std::option::Option<unsafe extern "C" fn(evtlist: *mut root::MIDI_eventlist)>;
4794 }
4795 extern "C" {
4796 #[link_name = "\u{1}_ZN16reaper_functions15MIDI_GetAllEvtsE"]
4797 pub static mut MIDI_GetAllEvts: ::std::option::Option<
4798 unsafe extern "C" fn(
4799 take: *mut root::MediaItem_Take,
4800 bufNeedBig: *mut ::std::os::raw::c_char,
4801 bufNeedBig_sz: *mut ::std::os::raw::c_int,
4802 ) -> bool,
4803 >;
4804 }
4805 extern "C" {
4806 #[link_name = "\u{1}_ZN16reaper_functions10MIDI_GetCCE"]
4807 pub static mut MIDI_GetCC: ::std::option::Option<
4808 unsafe extern "C" fn(
4809 take: *mut root::MediaItem_Take,
4810 ccidx: ::std::os::raw::c_int,
4811 selectedOut: *mut bool,
4812 mutedOut: *mut bool,
4813 ppqposOut: *mut f64,
4814 chanmsgOut: *mut ::std::os::raw::c_int,
4815 chanOut: *mut ::std::os::raw::c_int,
4816 msg2Out: *mut ::std::os::raw::c_int,
4817 msg3Out: *mut ::std::os::raw::c_int,
4818 ) -> bool,
4819 >;
4820 }
4821 extern "C" {
4822 #[link_name = "\u{1}_ZN16reaper_functions15MIDI_GetCCShapeE"]
4823 pub static mut MIDI_GetCCShape: ::std::option::Option<
4824 unsafe extern "C" fn(
4825 take: *mut root::MediaItem_Take,
4826 ccidx: ::std::os::raw::c_int,
4827 shapeOut: *mut ::std::os::raw::c_int,
4828 beztensionOut: *mut f64,
4829 ) -> bool,
4830 >;
4831 }
4832 extern "C" {
4833 #[link_name = "\u{1}_ZN16reaper_functions11MIDI_GetEvtE"]
4834 pub static mut MIDI_GetEvt: ::std::option::Option<
4835 unsafe extern "C" fn(
4836 take: *mut root::MediaItem_Take,
4837 evtidx: ::std::os::raw::c_int,
4838 selectedOut: *mut bool,
4839 mutedOut: *mut bool,
4840 ppqposOut: *mut f64,
4841 msg: *mut ::std::os::raw::c_char,
4842 msg_sz: *mut ::std::os::raw::c_int,
4843 ) -> bool,
4844 >;
4845 }
4846 extern "C" {
4847 #[link_name = "\u{1}_ZN16reaper_functions12MIDI_GetGridE"]
4848 pub static mut MIDI_GetGrid: ::std::option::Option<
4849 unsafe extern "C" fn(
4850 take: *mut root::MediaItem_Take,
4851 swingOutOptional: *mut f64,
4852 noteLenOutOptional: *mut f64,
4853 ) -> f64,
4854 >;
4855 }
4856 extern "C" {
4857 #[link_name = "\u{1}_ZN16reaper_functions12MIDI_GetHashE"]
4858 pub static mut MIDI_GetHash: ::std::option::Option<
4859 unsafe extern "C" fn(
4860 take: *mut root::MediaItem_Take,
4861 notesonly: bool,
4862 hash: *mut ::std::os::raw::c_char,
4863 hash_sz: ::std::os::raw::c_int,
4864 ) -> bool,
4865 >;
4866 }
4867 extern "C" {
4868 #[link_name = "\u{1}_ZN16reaper_functions12MIDI_GetNoteE"]
4869 pub static mut MIDI_GetNote: ::std::option::Option<
4870 unsafe extern "C" fn(
4871 take: *mut root::MediaItem_Take,
4872 noteidx: ::std::os::raw::c_int,
4873 selectedOut: *mut bool,
4874 mutedOut: *mut bool,
4875 startppqposOut: *mut f64,
4876 endppqposOut: *mut f64,
4877 chanOut: *mut ::std::os::raw::c_int,
4878 pitchOut: *mut ::std::os::raw::c_int,
4879 velOut: *mut ::std::os::raw::c_int,
4880 ) -> bool,
4881 >;
4882 }
4883 extern "C" {
4884 #[link_name = "\u{1}_ZN16reaper_functions27MIDI_GetPPQPos_EndOfMeasureE"]
4885 pub static mut MIDI_GetPPQPos_EndOfMeasure: ::std::option::Option<
4886 unsafe extern "C" fn(take: *mut root::MediaItem_Take, ppqpos: f64) -> f64,
4887 >;
4888 }
4889 extern "C" {
4890 #[link_name = "\u{1}_ZN16reaper_functions29MIDI_GetPPQPos_StartOfMeasureE"]
4891 pub static mut MIDI_GetPPQPos_StartOfMeasure: ::std::option::Option<
4892 unsafe extern "C" fn(take: *mut root::MediaItem_Take, ppqpos: f64) -> f64,
4893 >;
4894 }
4895 extern "C" {
4896 #[link_name = "\u{1}_ZN16reaper_functions24MIDI_GetPPQPosFromProjQNE"]
4897 pub static mut MIDI_GetPPQPosFromProjQN: ::std::option::Option<
4898 unsafe extern "C" fn(take: *mut root::MediaItem_Take, projqn: f64) -> f64,
4899 >;
4900 }
4901 extern "C" {
4902 #[link_name = "\u{1}_ZN16reaper_functions26MIDI_GetPPQPosFromProjTimeE"]
4903 pub static mut MIDI_GetPPQPosFromProjTime: ::std::option::Option<
4904 unsafe extern "C" fn(take: *mut root::MediaItem_Take, projtime: f64) -> f64,
4905 >;
4906 }
4907 extern "C" {
4908 #[link_name = "\u{1}_ZN16reaper_functions24MIDI_GetProjQNFromPPQPosE"]
4909 pub static mut MIDI_GetProjQNFromPPQPos: ::std::option::Option<
4910 unsafe extern "C" fn(take: *mut root::MediaItem_Take, ppqpos: f64) -> f64,
4911 >;
4912 }
4913 extern "C" {
4914 #[link_name = "\u{1}_ZN16reaper_functions26MIDI_GetProjTimeFromPPQPosE"]
4915 pub static mut MIDI_GetProjTimeFromPPQPos: ::std::option::Option<
4916 unsafe extern "C" fn(take: *mut root::MediaItem_Take, ppqpos: f64) -> f64,
4917 >;
4918 }
4919 extern "C" {
4920 #[link_name = "\u{1}_ZN16reaper_functions13MIDI_GetScaleE"]
4921 pub static mut MIDI_GetScale: ::std::option::Option<
4922 unsafe extern "C" fn(
4923 take: *mut root::MediaItem_Take,
4924 rootOut: *mut ::std::os::raw::c_int,
4925 scaleOut: *mut ::std::os::raw::c_int,
4926 name: *mut ::std::os::raw::c_char,
4927 name_sz: ::std::os::raw::c_int,
4928 ) -> bool,
4929 >;
4930 }
4931 extern "C" {
4932 #[link_name = "\u{1}_ZN16reaper_functions20MIDI_GetTextSysexEvtE"]
4933 pub static mut MIDI_GetTextSysexEvt: ::std::option::Option<
4934 unsafe extern "C" fn(
4935 take: *mut root::MediaItem_Take,
4936 textsyxevtidx: ::std::os::raw::c_int,
4937 selectedOutOptional: *mut bool,
4938 mutedOutOptional: *mut bool,
4939 ppqposOutOptional: *mut f64,
4940 typeOutOptional: *mut ::std::os::raw::c_int,
4941 msgOptional: *mut ::std::os::raw::c_char,
4942 msgOptional_sz: *mut ::std::os::raw::c_int,
4943 ) -> bool,
4944 >;
4945 }
4946 extern "C" {
4947 #[link_name = "\u{1}_ZN16reaper_functions17MIDI_GetTrackHashE"]
4948 pub static mut MIDI_GetTrackHash: ::std::option::Option<
4949 unsafe extern "C" fn(
4950 track: *mut root::MediaTrack,
4951 notesonly: bool,
4952 hash: *mut ::std::os::raw::c_char,
4953 hash_sz: ::std::os::raw::c_int,
4954 ) -> bool,
4955 >;
4956 }
4957 extern "C" {
4958 #[link_name = "\u{1}_ZN16reaper_functions13MIDI_InsertCCE"]
4959 pub static mut MIDI_InsertCC: ::std::option::Option<
4960 unsafe extern "C" fn(
4961 take: *mut root::MediaItem_Take,
4962 selected: bool,
4963 muted: bool,
4964 ppqpos: f64,
4965 chanmsg: ::std::os::raw::c_int,
4966 chan: ::std::os::raw::c_int,
4967 msg2: ::std::os::raw::c_int,
4968 msg3: ::std::os::raw::c_int,
4969 ) -> bool,
4970 >;
4971 }
4972 extern "C" {
4973 #[link_name = "\u{1}_ZN16reaper_functions14MIDI_InsertEvtE"]
4974 pub static mut MIDI_InsertEvt: ::std::option::Option<
4975 unsafe extern "C" fn(
4976 take: *mut root::MediaItem_Take,
4977 selected: bool,
4978 muted: bool,
4979 ppqpos: f64,
4980 bytestr: *const ::std::os::raw::c_char,
4981 bytestr_sz: ::std::os::raw::c_int,
4982 ) -> bool,
4983 >;
4984 }
4985 extern "C" {
4986 #[link_name = "\u{1}_ZN16reaper_functions15MIDI_InsertNoteE"]
4987 pub static mut MIDI_InsertNote: ::std::option::Option<
4988 unsafe extern "C" fn(
4989 take: *mut root::MediaItem_Take,
4990 selected: bool,
4991 muted: bool,
4992 startppqpos: f64,
4993 endppqpos: f64,
4994 chan: ::std::os::raw::c_int,
4995 pitch: ::std::os::raw::c_int,
4996 vel: ::std::os::raw::c_int,
4997 noSortInOptional: *const bool,
4998 ) -> bool,
4999 >;
5000 }
5001 extern "C" {
5002 #[link_name = "\u{1}_ZN16reaper_functions23MIDI_InsertTextSysexEvtE"]
5003 pub static mut MIDI_InsertTextSysexEvt: ::std::option::Option<
5004 unsafe extern "C" fn(
5005 take: *mut root::MediaItem_Take,
5006 selected: bool,
5007 muted: bool,
5008 ppqpos: f64,
5009 type_: ::std::os::raw::c_int,
5010 bytestr: *const ::std::os::raw::c_char,
5011 bytestr_sz: ::std::os::raw::c_int,
5012 ) -> bool,
5013 >;
5014 }
5015 extern "C" {
5016 #[link_name = "\u{1}_ZN16reaper_functions11midi_reinitE"]
5017 pub static mut midi_reinit: ::std::option::Option<unsafe extern "C" fn()>;
5018 }
5019 extern "C" {
5020 #[link_name = "\u{1}_ZN16reaper_functions14MIDI_SelectAllE"]
5021 pub static mut MIDI_SelectAll: ::std::option::Option<
5022 unsafe extern "C" fn(take: *mut root::MediaItem_Take, select: bool),
5023 >;
5024 }
5025 extern "C" {
5026 #[link_name = "\u{1}_ZN16reaper_functions15MIDI_SetAllEvtsE"]
5027 pub static mut MIDI_SetAllEvts: ::std::option::Option<
5028 unsafe extern "C" fn(
5029 take: *mut root::MediaItem_Take,
5030 buf: *const ::std::os::raw::c_char,
5031 buf_sz: ::std::os::raw::c_int,
5032 ) -> bool,
5033 >;
5034 }
5035 extern "C" {
5036 #[link_name = "\u{1}_ZN16reaper_functions10MIDI_SetCCE"]
5037 pub static mut MIDI_SetCC: ::std::option::Option<
5038 unsafe extern "C" fn(
5039 take: *mut root::MediaItem_Take,
5040 ccidx: ::std::os::raw::c_int,
5041 selectedInOptional: *const bool,
5042 mutedInOptional: *const bool,
5043 ppqposInOptional: *const f64,
5044 chanmsgInOptional: *const ::std::os::raw::c_int,
5045 chanInOptional: *const ::std::os::raw::c_int,
5046 msg2InOptional: *const ::std::os::raw::c_int,
5047 msg3InOptional: *const ::std::os::raw::c_int,
5048 noSortInOptional: *const bool,
5049 ) -> bool,
5050 >;
5051 }
5052 extern "C" {
5053 #[link_name = "\u{1}_ZN16reaper_functions15MIDI_SetCCShapeE"]
5054 pub static mut MIDI_SetCCShape: ::std::option::Option<
5055 unsafe extern "C" fn(
5056 take: *mut root::MediaItem_Take,
5057 ccidx: ::std::os::raw::c_int,
5058 shape: ::std::os::raw::c_int,
5059 beztension: f64,
5060 noSortInOptional: *const bool,
5061 ) -> bool,
5062 >;
5063 }
5064 extern "C" {
5065 #[link_name = "\u{1}_ZN16reaper_functions11MIDI_SetEvtE"]
5066 pub static mut MIDI_SetEvt: ::std::option::Option<
5067 unsafe extern "C" fn(
5068 take: *mut root::MediaItem_Take,
5069 evtidx: ::std::os::raw::c_int,
5070 selectedInOptional: *const bool,
5071 mutedInOptional: *const bool,
5072 ppqposInOptional: *const f64,
5073 msgOptional: *const ::std::os::raw::c_char,
5074 msgOptional_sz: ::std::os::raw::c_int,
5075 noSortInOptional: *const bool,
5076 ) -> bool,
5077 >;
5078 }
5079 extern "C" {
5080 #[link_name = "\u{1}_ZN16reaper_functions19MIDI_SetItemExtentsE"]
5081 pub static mut MIDI_SetItemExtents: ::std::option::Option<
5082 unsafe extern "C" fn(item: *mut root::MediaItem, startQN: f64, endQN: f64) -> bool,
5083 >;
5084 }
5085 extern "C" {
5086 #[link_name = "\u{1}_ZN16reaper_functions12MIDI_SetNoteE"]
5087 pub static mut MIDI_SetNote: ::std::option::Option<
5088 unsafe extern "C" fn(
5089 take: *mut root::MediaItem_Take,
5090 noteidx: ::std::os::raw::c_int,
5091 selectedInOptional: *const bool,
5092 mutedInOptional: *const bool,
5093 startppqposInOptional: *const f64,
5094 endppqposInOptional: *const f64,
5095 chanInOptional: *const ::std::os::raw::c_int,
5096 pitchInOptional: *const ::std::os::raw::c_int,
5097 velInOptional: *const ::std::os::raw::c_int,
5098 noSortInOptional: *const bool,
5099 ) -> bool,
5100 >;
5101 }
5102 extern "C" {
5103 #[link_name = "\u{1}_ZN16reaper_functions20MIDI_SetTextSysexEvtE"]
5104 pub static mut MIDI_SetTextSysexEvt: ::std::option::Option<
5105 unsafe extern "C" fn(
5106 take: *mut root::MediaItem_Take,
5107 textsyxevtidx: ::std::os::raw::c_int,
5108 selectedInOptional: *const bool,
5109 mutedInOptional: *const bool,
5110 ppqposInOptional: *const f64,
5111 typeInOptional: *const ::std::os::raw::c_int,
5112 msgOptional: *const ::std::os::raw::c_char,
5113 msgOptional_sz: ::std::os::raw::c_int,
5114 noSortInOptional: *const bool,
5115 ) -> bool,
5116 >;
5117 }
5118 extern "C" {
5119 #[link_name = "\u{1}_ZN16reaper_functions9MIDI_SortE"]
5120 pub static mut MIDI_Sort:
5121 ::std::option::Option<unsafe extern "C" fn(take: *mut root::MediaItem_Take)>;
5122 }
5123 extern "C" {
5124 #[link_name = "\u{1}_ZN16reaper_functions20MIDIEditor_GetActiveE"]
5125 pub static mut MIDIEditor_GetActive:
5126 ::std::option::Option<unsafe extern "C" fn() -> root::HWND>;
5127 }
5128 extern "C" {
5129 #[link_name = "\u{1}_ZN16reaper_functions18MIDIEditor_GetModeE"]
5130 pub static mut MIDIEditor_GetMode: ::std::option::Option<
5131 unsafe extern "C" fn(midieditor: root::HWND) -> ::std::os::raw::c_int,
5132 >;
5133 }
5134 extern "C" {
5135 #[link_name = "\u{1}_ZN16reaper_functions25MIDIEditor_GetSetting_intE"]
5136 pub static mut MIDIEditor_GetSetting_int: ::std::option::Option<
5137 unsafe extern "C" fn(
5138 midieditor: root::HWND,
5139 setting_desc: *const ::std::os::raw::c_char,
5140 ) -> ::std::os::raw::c_int,
5141 >;
5142 }
5143 extern "C" {
5144 #[link_name = "\u{1}_ZN16reaper_functions25MIDIEditor_GetSetting_strE"]
5145 pub static mut MIDIEditor_GetSetting_str: ::std::option::Option<
5146 unsafe extern "C" fn(
5147 midieditor: root::HWND,
5148 setting_desc: *const ::std::os::raw::c_char,
5149 buf: *mut ::std::os::raw::c_char,
5150 buf_sz: ::std::os::raw::c_int,
5151 ) -> bool,
5152 >;
5153 }
5154 extern "C" {
5155 #[link_name = "\u{1}_ZN16reaper_functions18MIDIEditor_GetTakeE"]
5156 pub static mut MIDIEditor_GetTake: ::std::option::Option<
5157 unsafe extern "C" fn(midieditor: root::HWND) -> *mut root::MediaItem_Take,
5158 >;
5159 }
5160 extern "C" {
5161 #[link_name = "\u{1}_ZN16reaper_functions32MIDIEditor_LastFocused_OnCommandE"]
5162 pub static mut MIDIEditor_LastFocused_OnCommand: ::std::option::Option<
5163 unsafe extern "C" fn(
5164 command_id: ::std::os::raw::c_int,
5165 islistviewcommand: bool,
5166 ) -> bool,
5167 >;
5168 }
5169 extern "C" {
5170 #[link_name = "\u{1}_ZN16reaper_functions20MIDIEditor_OnCommandE"]
5171 pub static mut MIDIEditor_OnCommand: ::std::option::Option<
5172 unsafe extern "C" fn(
5173 midieditor: root::HWND,
5174 command_id: ::std::os::raw::c_int,
5175 ) -> bool,
5176 >;
5177 }
5178 extern "C" {
5179 #[link_name = "\u{1}_ZN16reaper_functions25MIDIEditor_SetSetting_intE"]
5180 pub static mut MIDIEditor_SetSetting_int: ::std::option::Option<
5181 unsafe extern "C" fn(
5182 midieditor: root::HWND,
5183 setting_desc: *const ::std::os::raw::c_char,
5184 setting: ::std::os::raw::c_int,
5185 ) -> bool,
5186 >;
5187 }
5188 extern "C" {
5189 #[link_name = "\u{1}_ZN16reaper_functions8mkpanstrE"]
5190 pub static mut mkpanstr: ::std::option::Option<
5191 unsafe extern "C" fn(strNeed64: *mut ::std::os::raw::c_char, pan: f64),
5192 >;
5193 }
5194 extern "C" {
5195 #[link_name = "\u{1}_ZN16reaper_functions11mkvolpanstrE"]
5196 pub static mut mkvolpanstr: ::std::option::Option<
5197 unsafe extern "C" fn(strNeed64: *mut ::std::os::raw::c_char, vol: f64, pan: f64),
5198 >;
5199 }
5200 extern "C" {
5201 #[link_name = "\u{1}_ZN16reaper_functions8mkvolstrE"]
5202 pub static mut mkvolstr: ::std::option::Option<
5203 unsafe extern "C" fn(strNeed64: *mut ::std::os::raw::c_char, vol: f64),
5204 >;
5205 }
5206 extern "C" {
5207 #[link_name = "\u{1}_ZN16reaper_functions14MoveEditCursorE"]
5208 pub static mut MoveEditCursor:
5209 ::std::option::Option<unsafe extern "C" fn(adjamt: f64, dosel: bool)>;
5210 }
5211 extern "C" {
5212 #[link_name = "\u{1}_ZN16reaper_functions20MoveMediaItemToTrackE"]
5213 pub static mut MoveMediaItemToTrack: ::std::option::Option<
5214 unsafe extern "C" fn(
5215 item: *mut root::MediaItem,
5216 desttr: *mut root::MediaTrack,
5217 ) -> bool,
5218 >;
5219 }
5220 extern "C" {
5221 #[link_name = "\u{1}_ZN16reaper_functions13MuteAllTracksE"]
5222 pub static mut MuteAllTracks: ::std::option::Option<unsafe extern "C" fn(mute: bool)>;
5223 }
5224 extern "C" {
5225 #[link_name = "\u{1}_ZN16reaper_functions14my_getViewportE"]
5226 pub static mut my_getViewport: ::std::option::Option<
5227 unsafe extern "C" fn(r: *mut root::RECT, sr: *const root::RECT, wantWorkArea: bool),
5228 >;
5229 }
5230 extern "C" {
5231 #[link_name = "\u{1}_ZN16reaper_functions18NamedCommandLookupE"]
5232 pub static mut NamedCommandLookup: ::std::option::Option<
5233 unsafe extern "C" fn(
5234 command_name: *const ::std::os::raw::c_char,
5235 ) -> ::std::os::raw::c_int,
5236 >;
5237 }
5238 extern "C" {
5239 #[link_name = "\u{1}_ZN16reaper_functions13OnPauseButtonE"]
5240 pub static mut OnPauseButton: ::std::option::Option<unsafe extern "C" fn()>;
5241 }
5242 extern "C" {
5243 #[link_name = "\u{1}_ZN16reaper_functions15OnPauseButtonExE"]
5244 pub static mut OnPauseButtonEx:
5245 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject)>;
5246 }
5247 extern "C" {
5248 #[link_name = "\u{1}_ZN16reaper_functions12OnPlayButtonE"]
5249 pub static mut OnPlayButton: ::std::option::Option<unsafe extern "C" fn()>;
5250 }
5251 extern "C" {
5252 #[link_name = "\u{1}_ZN16reaper_functions14OnPlayButtonExE"]
5253 pub static mut OnPlayButtonEx:
5254 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject)>;
5255 }
5256 extern "C" {
5257 #[link_name = "\u{1}_ZN16reaper_functions12OnStopButtonE"]
5258 pub static mut OnStopButton: ::std::option::Option<unsafe extern "C" fn()>;
5259 }
5260 extern "C" {
5261 #[link_name = "\u{1}_ZN16reaper_functions14OnStopButtonExE"]
5262 pub static mut OnStopButtonEx:
5263 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject)>;
5264 }
5265 extern "C" {
5266 #[link_name = "\u{1}_ZN16reaper_functions18OpenColorThemeFileE"]
5267 pub static mut OpenColorThemeFile: ::std::option::Option<
5268 unsafe extern "C" fn(fn_: *const ::std::os::raw::c_char) -> bool,
5269 >;
5270 }
5271 extern "C" {
5272 #[link_name = "\u{1}_ZN16reaper_functions17OpenMediaExplorerE"]
5273 pub static mut OpenMediaExplorer: ::std::option::Option<
5274 unsafe extern "C" fn(
5275 mediafn: *const ::std::os::raw::c_char,
5276 play: bool,
5277 ) -> root::HWND,
5278 >;
5279 }
5280 extern "C" {
5281 #[link_name = "\u{1}_ZN16reaper_functions21OscLocalMessageToHostE"]
5282 pub static mut OscLocalMessageToHost: ::std::option::Option<
5283 unsafe extern "C" fn(
5284 message: *const ::std::os::raw::c_char,
5285 valueInOptional: *const f64,
5286 ),
5287 >;
5288 }
5289 extern "C" {
5290 #[link_name = "\u{1}_ZN16reaper_functions13parse_timestrE"]
5291 pub static mut parse_timestr: ::std::option::Option<
5292 unsafe extern "C" fn(buf: *const ::std::os::raw::c_char) -> f64,
5293 >;
5294 }
5295 extern "C" {
5296 #[link_name = "\u{1}_ZN16reaper_functions17parse_timestr_lenE"]
5297 pub static mut parse_timestr_len: ::std::option::Option<
5298 unsafe extern "C" fn(
5299 buf: *const ::std::os::raw::c_char,
5300 offset: f64,
5301 modeoverride: ::std::os::raw::c_int,
5302 ) -> f64,
5303 >;
5304 }
5305 extern "C" {
5306 #[link_name = "\u{1}_ZN16reaper_functions17parse_timestr_posE"]
5307 pub static mut parse_timestr_pos: ::std::option::Option<
5308 unsafe extern "C" fn(
5309 buf: *const ::std::os::raw::c_char,
5310 modeoverride: ::std::os::raw::c_int,
5311 ) -> f64,
5312 >;
5313 }
5314 extern "C" {
5315 #[link_name = "\u{1}_ZN16reaper_functions11parsepanstrE"]
5316 pub static mut parsepanstr: ::std::option::Option<
5317 unsafe extern "C" fn(str: *const ::std::os::raw::c_char) -> f64,
5318 >;
5319 }
5320 extern "C" {
5321 #[link_name = "\u{1}_ZN16reaper_functions15PCM_Sink_CreateE"]
5322 pub static mut PCM_Sink_Create: ::std::option::Option<
5323 unsafe extern "C" fn(
5324 filename: *const ::std::os::raw::c_char,
5325 cfg: *const ::std::os::raw::c_char,
5326 cfg_sz: ::std::os::raw::c_int,
5327 nch: ::std::os::raw::c_int,
5328 srate: ::std::os::raw::c_int,
5329 buildpeaks: bool,
5330 ) -> *mut root::PCM_sink,
5331 >;
5332 }
5333 extern "C" {
5334 #[link_name = "\u{1}_ZN16reaper_functions17PCM_Sink_CreateExE"]
5335 pub static mut PCM_Sink_CreateEx: ::std::option::Option<
5336 unsafe extern "C" fn(
5337 proj: *mut root::ReaProject,
5338 filename: *const ::std::os::raw::c_char,
5339 cfg: *const ::std::os::raw::c_char,
5340 cfg_sz: ::std::os::raw::c_int,
5341 nch: ::std::os::raw::c_int,
5342 srate: ::std::os::raw::c_int,
5343 buildpeaks: bool,
5344 ) -> *mut root::PCM_sink,
5345 >;
5346 }
5347 extern "C" {
5348 #[link_name = "\u{1}_ZN16reaper_functions23PCM_Sink_CreateMIDIFileE"]
5349 pub static mut PCM_Sink_CreateMIDIFile: ::std::option::Option<
5350 unsafe extern "C" fn(
5351 filename: *const ::std::os::raw::c_char,
5352 cfg: *const ::std::os::raw::c_char,
5353 cfg_sz: ::std::os::raw::c_int,
5354 bpm: f64,
5355 div: ::std::os::raw::c_int,
5356 ) -> *mut root::PCM_sink,
5357 >;
5358 }
5359 extern "C" {
5360 #[link_name = "\u{1}_ZN16reaper_functions25PCM_Sink_CreateMIDIFileExE"]
5361 pub static mut PCM_Sink_CreateMIDIFileEx: ::std::option::Option<
5362 unsafe extern "C" fn(
5363 proj: *mut root::ReaProject,
5364 filename: *const ::std::os::raw::c_char,
5365 cfg: *const ::std::os::raw::c_char,
5366 cfg_sz: ::std::os::raw::c_int,
5367 bpm: f64,
5368 div: ::std::os::raw::c_int,
5369 ) -> *mut root::PCM_sink,
5370 >;
5371 }
5372 extern "C" {
5373 #[link_name = "\u{1}_ZN16reaper_functions13PCM_Sink_EnumE"]
5374 pub static mut PCM_Sink_Enum: ::std::option::Option<
5375 unsafe extern "C" fn(
5376 idx: ::std::os::raw::c_int,
5377 descstrOut: *mut *const ::std::os::raw::c_char,
5378 ) -> ::std::os::raw::c_uint,
5379 >;
5380 }
5381 extern "C" {
5382 #[link_name = "\u{1}_ZN16reaper_functions21PCM_Sink_GetExtensionE"]
5383 pub static mut PCM_Sink_GetExtension: ::std::option::Option<
5384 unsafe extern "C" fn(
5385 data: *const ::std::os::raw::c_char,
5386 data_sz: ::std::os::raw::c_int,
5387 ) -> *const ::std::os::raw::c_char,
5388 >;
5389 }
5390 extern "C" {
5391 #[link_name = "\u{1}_ZN16reaper_functions19PCM_Sink_ShowConfigE"]
5392 pub static mut PCM_Sink_ShowConfig: ::std::option::Option<
5393 unsafe extern "C" fn(
5394 cfg: *const ::std::os::raw::c_char,
5395 cfg_sz: ::std::os::raw::c_int,
5396 hwndParent: root::HWND,
5397 ) -> root::HWND,
5398 >;
5399 }
5400 extern "C" {
5401 #[link_name = "\u{1}_ZN16reaper_functions25PCM_Source_CreateFromFileE"]
5402 pub static mut PCM_Source_CreateFromFile: ::std::option::Option<
5403 unsafe extern "C" fn(
5404 filename: *const ::std::os::raw::c_char,
5405 ) -> *mut root::PCM_source,
5406 >;
5407 }
5408 extern "C" {
5409 #[link_name = "\u{1}_ZN16reaper_functions27PCM_Source_CreateFromFileExE"]
5410 pub static mut PCM_Source_CreateFromFileEx: ::std::option::Option<
5411 unsafe extern "C" fn(
5412 filename: *const ::std::os::raw::c_char,
5413 forcenoMidiImp: bool,
5414 ) -> *mut root::PCM_source,
5415 >;
5416 }
5417 extern "C" {
5418 #[link_name = "\u{1}_ZN16reaper_functions27PCM_Source_CreateFromSimpleE"]
5419 pub static mut PCM_Source_CreateFromSimple: ::std::option::Option<
5420 unsafe extern "C" fn(
5421 dec: *mut root::ISimpleMediaDecoder,
5422 fn_: *const ::std::os::raw::c_char,
5423 ) -> *mut root::PCM_source,
5424 >;
5425 }
5426 extern "C" {
5427 #[link_name = "\u{1}_ZN16reaper_functions25PCM_Source_CreateFromTypeE"]
5428 pub static mut PCM_Source_CreateFromType: ::std::option::Option<
5429 unsafe extern "C" fn(
5430 sourcetype: *const ::std::os::raw::c_char,
5431 ) -> *mut root::PCM_source,
5432 >;
5433 }
5434 extern "C" {
5435 #[link_name = "\u{1}_ZN16reaper_functions18PCM_Source_DestroyE"]
5436 pub static mut PCM_Source_Destroy:
5437 ::std::option::Option<unsafe extern "C" fn(src: *mut root::PCM_source)>;
5438 }
5439 extern "C" {
5440 #[link_name = "\u{1}_ZN16reaper_functions19PCM_Source_GetPeaksE"]
5441 pub static mut PCM_Source_GetPeaks: ::std::option::Option<
5442 unsafe extern "C" fn(
5443 src: *mut root::PCM_source,
5444 peakrate: f64,
5445 starttime: f64,
5446 numchannels: ::std::os::raw::c_int,
5447 numsamplesperchannel: ::std::os::raw::c_int,
5448 want_extra_type: ::std::os::raw::c_int,
5449 buf: *mut f64,
5450 ) -> ::std::os::raw::c_int,
5451 >;
5452 }
5453 extern "C" {
5454 #[link_name = "\u{1}_ZN16reaper_functions25PCM_Source_GetSectionInfoE"]
5455 pub static mut PCM_Source_GetSectionInfo: ::std::option::Option<
5456 unsafe extern "C" fn(
5457 src: *mut root::PCM_source,
5458 offsOut: *mut f64,
5459 lenOut: *mut f64,
5460 revOut: *mut bool,
5461 ) -> bool,
5462 >;
5463 }
5464 extern "C" {
5465 #[link_name = "\u{1}_ZN16reaper_functions16PeakBuild_CreateE"]
5466 pub static mut PeakBuild_Create: ::std::option::Option<
5467 unsafe extern "C" fn(
5468 src: *mut root::PCM_source,
5469 fn_: *const ::std::os::raw::c_char,
5470 srate: ::std::os::raw::c_int,
5471 nch: ::std::os::raw::c_int,
5472 ) -> *mut root::REAPER_PeakBuild_Interface,
5473 >;
5474 }
5475 extern "C" {
5476 #[link_name = "\u{1}_ZN16reaper_functions18PeakBuild_CreateExE"]
5477 pub static mut PeakBuild_CreateEx: ::std::option::Option<
5478 unsafe extern "C" fn(
5479 src: *mut root::PCM_source,
5480 fn_: *const ::std::os::raw::c_char,
5481 srate: ::std::os::raw::c_int,
5482 nch: ::std::os::raw::c_int,
5483 flags: ::std::os::raw::c_int,
5484 ) -> *mut root::REAPER_PeakBuild_Interface,
5485 >;
5486 }
5487 extern "C" {
5488 #[link_name = "\u{1}_ZN16reaper_functions14PeakGet_CreateE"]
5489 pub static mut PeakGet_Create: ::std::option::Option<
5490 unsafe extern "C" fn(
5491 fn_: *const ::std::os::raw::c_char,
5492 srate: ::std::os::raw::c_int,
5493 nch: ::std::os::raw::c_int,
5494 ) -> *mut root::REAPER_PeakGet_Interface,
5495 >;
5496 }
5497 extern "C" {
5498 #[link_name = "\u{1}_ZN16reaper_functions21PitchShiftSubModeMenuE"]
5499 pub static mut PitchShiftSubModeMenu: ::std::option::Option<
5500 unsafe extern "C" fn(
5501 hwnd: root::HWND,
5502 x: ::std::os::raw::c_int,
5503 y: ::std::os::raw::c_int,
5504 mode: ::std::os::raw::c_int,
5505 submode_sel: ::std::os::raw::c_int,
5506 ) -> ::std::os::raw::c_int,
5507 >;
5508 }
5509 extern "C" {
5510 #[link_name = "\u{1}_ZN16reaper_functions11PlayPreviewE"]
5511 pub static mut PlayPreview: ::std::option::Option<
5512 unsafe extern "C" fn(
5513 preview: *mut root::preview_register_t,
5514 ) -> ::std::os::raw::c_int,
5515 >;
5516 }
5517 extern "C" {
5518 #[link_name = "\u{1}_ZN16reaper_functions13PlayPreviewExE"]
5519 pub static mut PlayPreviewEx: ::std::option::Option<
5520 unsafe extern "C" fn(
5521 preview: *mut root::preview_register_t,
5522 bufflags: ::std::os::raw::c_int,
5523 MSI: f64,
5524 ) -> ::std::os::raw::c_int,
5525 >;
5526 }
5527 extern "C" {
5528 #[link_name = "\u{1}_ZN16reaper_functions16PlayTrackPreviewE"]
5529 pub static mut PlayTrackPreview: ::std::option::Option<
5530 unsafe extern "C" fn(
5531 preview: *mut root::preview_register_t,
5532 ) -> ::std::os::raw::c_int,
5533 >;
5534 }
5535 extern "C" {
5536 #[link_name = "\u{1}_ZN16reaper_functions17PlayTrackPreview2E"]
5537 pub static mut PlayTrackPreview2: ::std::option::Option<
5538 unsafe extern "C" fn(
5539 proj: *mut root::ReaProject,
5540 preview: *mut root::preview_register_t,
5541 ) -> ::std::os::raw::c_int,
5542 >;
5543 }
5544 extern "C" {
5545 #[link_name = "\u{1}_ZN16reaper_functions19PlayTrackPreview2ExE"]
5546 pub static mut PlayTrackPreview2Ex: ::std::option::Option<
5547 unsafe extern "C" fn(
5548 proj: *mut root::ReaProject,
5549 preview: *mut root::preview_register_t,
5550 flags: ::std::os::raw::c_int,
5551 msi: f64,
5552 ) -> ::std::os::raw::c_int,
5553 >;
5554 }
5555 extern "C" {
5556 #[link_name = "\u{1}_ZN16reaper_functions13plugin_getapiE"]
5557 pub static mut plugin_getapi: ::std::option::Option<
5558 unsafe extern "C" fn(
5559 name: *const ::std::os::raw::c_char,
5560 ) -> *mut ::std::os::raw::c_void,
5561 >;
5562 }
5563 extern "C" {
5564 #[link_name = "\u{1}_ZN16reaper_functions20plugin_getFilterListE"]
5565 pub static mut plugin_getFilterList:
5566 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
5567 }
5568 extern "C" {
5569 #[link_name = "\u{1}_ZN16reaper_functions37plugin_getImportableProjectFilterListE"]
5570 pub static mut plugin_getImportableProjectFilterList:
5571 ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>;
5572 }
5573 extern "C" {
5574 #[link_name = "\u{1}_ZN16reaper_functions15plugin_registerE"]
5575 pub static mut plugin_register: ::std::option::Option<
5576 unsafe extern "C" fn(
5577 name: *const ::std::os::raw::c_char,
5578 infostruct: *mut ::std::os::raw::c_void,
5579 ) -> ::std::os::raw::c_int,
5580 >;
5581 }
5582 extern "C" {
5583 #[link_name = "\u{1}_ZN16reaper_functions22PluginWantsAlwaysRunFxE"]
5584 pub static mut PluginWantsAlwaysRunFx:
5585 ::std::option::Option<unsafe extern "C" fn(amt: ::std::os::raw::c_int)>;
5586 }
5587 extern "C" {
5588 #[link_name = "\u{1}_ZN16reaper_functions16PreventUIRefreshE"]
5589 pub static mut PreventUIRefresh:
5590 ::std::option::Option<unsafe extern "C" fn(prevent_count: ::std::os::raw::c_int)>;
5591 }
5592 extern "C" {
5593 #[link_name = "\u{1}_ZN16reaper_functions22projectconfig_var_addrE"]
5594 pub static mut projectconfig_var_addr: ::std::option::Option<
5595 unsafe extern "C" fn(
5596 proj: *mut root::ReaProject,
5597 idx: ::std::os::raw::c_int,
5598 ) -> *mut ::std::os::raw::c_void,
5599 >;
5600 }
5601 extern "C" {
5602 #[link_name = "\u{1}_ZN16reaper_functions25projectconfig_var_getoffsE"]
5603 pub static mut projectconfig_var_getoffs: ::std::option::Option<
5604 unsafe extern "C" fn(
5605 name: *const ::std::os::raw::c_char,
5606 szOut: *mut ::std::os::raw::c_int,
5607 ) -> ::std::os::raw::c_int,
5608 >;
5609 }
5610 extern "C" {
5611 #[link_name = "\u{1}_ZN16reaper_functions15realloc_cmd_ptrE"]
5612 pub static mut realloc_cmd_ptr: ::std::option::Option<
5613 unsafe extern "C" fn(
5614 ptr: *mut *mut ::std::os::raw::c_char,
5615 ptr_size: *mut ::std::os::raw::c_int,
5616 new_size: ::std::os::raw::c_int,
5617 ) -> bool,
5618 >;
5619 }
5620 extern "C" {
5621 #[link_name = "\u{1}_ZN16reaper_functions22ReaperGetPitchShiftAPIE"]
5622 pub static mut ReaperGetPitchShiftAPI: ::std::option::Option<
5623 unsafe extern "C" fn(
5624 version: ::std::os::raw::c_int,
5625 ) -> *mut root::IReaperPitchShift,
5626 >;
5627 }
5628 extern "C" {
5629 #[link_name = "\u{1}_ZN16reaper_functions14ReaScriptErrorE"]
5630 pub static mut ReaScriptError:
5631 ::std::option::Option<unsafe extern "C" fn(errmsg: *const ::std::os::raw::c_char)>;
5632 }
5633 extern "C" {
5634 #[link_name = "\u{1}_ZN16reaper_functions24RecursiveCreateDirectoryE"]
5635 pub static mut RecursiveCreateDirectory: ::std::option::Option<
5636 unsafe extern "C" fn(
5637 path: *const ::std::os::raw::c_char,
5638 ignored: usize,
5639 ) -> ::std::os::raw::c_int,
5640 >;
5641 }
5642 extern "C" {
5643 #[link_name = "\u{1}_ZN16reaper_functions17reduce_open_filesE"]
5644 pub static mut reduce_open_files: ::std::option::Option<
5645 unsafe extern "C" fn(flags: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
5646 >;
5647 }
5648 extern "C" {
5649 #[link_name = "\u{1}_ZN16reaper_functions14RefreshToolbarE"]
5650 pub static mut RefreshToolbar:
5651 ::std::option::Option<unsafe extern "C" fn(command_id: ::std::os::raw::c_int)>;
5652 }
5653 extern "C" {
5654 #[link_name = "\u{1}_ZN16reaper_functions15RefreshToolbar2E"]
5655 pub static mut RefreshToolbar2: ::std::option::Option<
5656 unsafe extern "C" fn(
5657 section_id: ::std::os::raw::c_int,
5658 command_id: ::std::os::raw::c_int,
5659 ),
5660 >;
5661 }
5662 extern "C" {
5663 #[link_name = "\u{1}_ZN16reaper_functions11relative_fnE"]
5664 pub static mut relative_fn: ::std::option::Option<
5665 unsafe extern "C" fn(
5666 in_: *const ::std::os::raw::c_char,
5667 out: *mut ::std::os::raw::c_char,
5668 out_sz: ::std::os::raw::c_int,
5669 ),
5670 >;
5671 }
5672 extern "C" {
5673 #[link_name = "\u{1}_ZN16reaper_functions15RemoveTrackSendE"]
5674 pub static mut RemoveTrackSend: ::std::option::Option<
5675 unsafe extern "C" fn(
5676 tr: *mut root::MediaTrack,
5677 category: ::std::os::raw::c_int,
5678 sendidx: ::std::os::raw::c_int,
5679 ) -> bool,
5680 >;
5681 }
5682 extern "C" {
5683 #[link_name = "\u{1}_ZN16reaper_functions17RenderFileSectionE"]
5684 pub static mut RenderFileSection: ::std::option::Option<
5685 unsafe extern "C" fn(
5686 source_filename: *const ::std::os::raw::c_char,
5687 target_filename: *const ::std::os::raw::c_char,
5688 start_percent: f64,
5689 end_percent: f64,
5690 playrate: f64,
5691 ) -> bool,
5692 >;
5693 }
5694 extern "C" {
5695 #[link_name = "\u{1}_ZN16reaper_functions21ReorderSelectedTracksE"]
5696 pub static mut ReorderSelectedTracks: ::std::option::Option<
5697 unsafe extern "C" fn(
5698 beforeTrackIdx: ::std::os::raw::c_int,
5699 makePrevFolder: ::std::os::raw::c_int,
5700 ) -> bool,
5701 >;
5702 }
5703 extern "C" {
5704 #[link_name = "\u{1}_ZN16reaper_functions18Resample_EnumModesE"]
5705 pub static mut Resample_EnumModes: ::std::option::Option<
5706 unsafe extern "C" fn(mode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char,
5707 >;
5708 }
5709 extern "C" {
5710 #[link_name = "\u{1}_ZN16reaper_functions16Resampler_CreateE"]
5711 pub static mut Resampler_Create: ::std::option::Option<
5712 unsafe extern "C" fn() -> *mut root::REAPER_Resample_Interface,
5713 >;
5714 }
5715 extern "C" {
5716 #[link_name = "\u{1}_ZN16reaper_functions10resolve_fnE"]
5717 pub static mut resolve_fn: ::std::option::Option<
5718 unsafe extern "C" fn(
5719 in_: *const ::std::os::raw::c_char,
5720 out: *mut ::std::os::raw::c_char,
5721 out_sz: ::std::os::raw::c_int,
5722 ),
5723 >;
5724 }
5725 extern "C" {
5726 #[link_name = "\u{1}_ZN16reaper_functions11resolve_fn2E"]
5727 pub static mut resolve_fn2: ::std::option::Option<
5728 unsafe extern "C" fn(
5729 in_: *const ::std::os::raw::c_char,
5730 out: *mut ::std::os::raw::c_char,
5731 out_sz: ::std::os::raw::c_int,
5732 checkSubDirOptional: *const ::std::os::raw::c_char,
5733 ),
5734 >;
5735 }
5736 extern "C" {
5737 #[link_name = "\u{1}_ZN16reaper_functions25ReverseNamedCommandLookupE"]
5738 pub static mut ReverseNamedCommandLookup: ::std::option::Option<
5739 unsafe extern "C" fn(
5740 command_id: ::std::os::raw::c_int,
5741 ) -> *const ::std::os::raw::c_char,
5742 >;
5743 }
5744 extern "C" {
5745 #[link_name = "\u{1}_ZN16reaper_functions21ScaleFromEnvelopeModeE"]
5746 pub static mut ScaleFromEnvelopeMode: ::std::option::Option<
5747 unsafe extern "C" fn(scaling_mode: ::std::os::raw::c_int, val: f64) -> f64,
5748 >;
5749 }
5750 extern "C" {
5751 #[link_name = "\u{1}_ZN16reaper_functions19ScaleToEnvelopeModeE"]
5752 pub static mut ScaleToEnvelopeMode: ::std::option::Option<
5753 unsafe extern "C" fn(scaling_mode: ::std::os::raw::c_int, val: f64) -> f64,
5754 >;
5755 }
5756 extern "C" {
5757 #[link_name = "\u{1}_ZN16reaper_functions18screenset_registerE"]
5758 pub static mut screenset_register: ::std::option::Option<
5759 unsafe extern "C" fn(
5760 id: *mut ::std::os::raw::c_char,
5761 callbackFunc: *mut ::std::os::raw::c_void,
5762 param: *mut ::std::os::raw::c_void,
5763 ),
5764 >;
5765 }
5766 extern "C" {
5767 #[link_name = "\u{1}_ZN16reaper_functions21screenset_registerNewE"]
5768 pub static mut screenset_registerNew: ::std::option::Option<
5769 unsafe extern "C" fn(
5770 id: *mut ::std::os::raw::c_char,
5771 callbackFunc: root::screensetNewCallbackFunc,
5772 param: *mut ::std::os::raw::c_void,
5773 ),
5774 >;
5775 }
5776 extern "C" {
5777 #[link_name = "\u{1}_ZN16reaper_functions20screenset_unregisterE"]
5778 pub static mut screenset_unregister:
5779 ::std::option::Option<unsafe extern "C" fn(id: *mut ::std::os::raw::c_char)>;
5780 }
5781 extern "C" {
5782 #[link_name = "\u{1}_ZN16reaper_functions27screenset_unregisterByParamE"]
5783 pub static mut screenset_unregisterByParam:
5784 ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void)>;
5785 }
5786 extern "C" {
5787 #[link_name = "\u{1}_ZN16reaper_functions25screenset_updateLastFocusE"]
5788 pub static mut screenset_updateLastFocus:
5789 ::std::option::Option<unsafe extern "C" fn(prevWin: root::HWND)>;
5790 }
5791 extern "C" {
5792 #[link_name = "\u{1}_ZN16reaper_functions19SectionFromUniqueIDE"]
5793 pub static mut SectionFromUniqueID: ::std::option::Option<
5794 unsafe extern "C" fn(uniqueID: ::std::os::raw::c_int) -> *mut root::KbdSectionInfo,
5795 >;
5796 }
5797 extern "C" {
5798 #[link_name = "\u{1}_ZN16reaper_functions19SelectAllMediaItemsE"]
5799 pub static mut SelectAllMediaItems: ::std::option::Option<
5800 unsafe extern "C" fn(proj: *mut root::ReaProject, selected: bool),
5801 >;
5802 }
5803 extern "C" {
5804 #[link_name = "\u{1}_ZN16reaper_functions21SelectProjectInstanceE"]
5805 pub static mut SelectProjectInstance:
5806 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject)>;
5807 }
5808 extern "C" {
5809 #[link_name = "\u{1}_ZN16reaper_functions19SendLocalOscMessageE"]
5810 pub static mut SendLocalOscMessage: ::std::option::Option<
5811 unsafe extern "C" fn(
5812 local_osc_handler: *mut ::std::os::raw::c_void,
5813 msg: *const ::std::os::raw::c_char,
5814 msglen: ::std::os::raw::c_int,
5815 ),
5816 >;
5817 }
5818 extern "C" {
5819 #[link_name = "\u{1}_ZN16reaper_functions13SetActiveTakeE"]
5820 pub static mut SetActiveTake:
5821 ::std::option::Option<unsafe extern "C" fn(take: *mut root::MediaItem_Take)>;
5822 }
5823 extern "C" {
5824 #[link_name = "\u{1}_ZN16reaper_functions17SetAutomationModeE"]
5825 pub static mut SetAutomationMode: ::std::option::Option<
5826 unsafe extern "C" fn(mode: ::std::os::raw::c_int, onlySel: bool),
5827 >;
5828 }
5829 extern "C" {
5830 #[link_name = "\u{1}_ZN16reaper_functions13SetCurrentBPME"]
5831 pub static mut SetCurrentBPM: ::std::option::Option<
5832 unsafe extern "C" fn(__proj: *mut root::ReaProject, bpm: f64, wantUndo: bool),
5833 >;
5834 }
5835 extern "C" {
5836 #[link_name = "\u{1}_ZN16reaper_functions16SetCursorContextE"]
5837 pub static mut SetCursorContext: ::std::option::Option<
5838 unsafe extern "C" fn(
5839 mode: ::std::os::raw::c_int,
5840 envInOptional: *mut root::TrackEnvelope,
5841 ),
5842 >;
5843 }
5844 extern "C" {
5845 #[link_name = "\u{1}_ZN16reaper_functions13SetEditCurPosE"]
5846 pub static mut SetEditCurPos: ::std::option::Option<
5847 unsafe extern "C" fn(time: f64, moveview: bool, seekplay: bool),
5848 >;
5849 }
5850 extern "C" {
5851 #[link_name = "\u{1}_ZN16reaper_functions14SetEditCurPos2E"]
5852 pub static mut SetEditCurPos2: ::std::option::Option<
5853 unsafe extern "C" fn(
5854 proj: *mut root::ReaProject,
5855 time: f64,
5856 moveview: bool,
5857 seekplay: bool,
5858 ),
5859 >;
5860 }
5861 extern "C" {
5862 #[link_name = "\u{1}_ZN16reaper_functions16SetEnvelopePointE"]
5863 pub static mut SetEnvelopePoint: ::std::option::Option<
5864 unsafe extern "C" fn(
5865 envelope: *mut root::TrackEnvelope,
5866 ptidx: ::std::os::raw::c_int,
5867 timeInOptional: *mut f64,
5868 valueInOptional: *mut f64,
5869 shapeInOptional: *mut ::std::os::raw::c_int,
5870 tensionInOptional: *mut f64,
5871 selectedInOptional: *mut bool,
5872 noSortInOptional: *mut bool,
5873 ) -> bool,
5874 >;
5875 }
5876 extern "C" {
5877 #[link_name = "\u{1}_ZN16reaper_functions18SetEnvelopePointExE"]
5878 pub static mut SetEnvelopePointEx: ::std::option::Option<
5879 unsafe extern "C" fn(
5880 envelope: *mut root::TrackEnvelope,
5881 autoitem_idx: ::std::os::raw::c_int,
5882 ptidx: ::std::os::raw::c_int,
5883 timeInOptional: *mut f64,
5884 valueInOptional: *mut f64,
5885 shapeInOptional: *mut ::std::os::raw::c_int,
5886 tensionInOptional: *mut f64,
5887 selectedInOptional: *mut bool,
5888 noSortInOptional: *mut bool,
5889 ) -> bool,
5890 >;
5891 }
5892 extern "C" {
5893 #[link_name = "\u{1}_ZN16reaper_functions21SetEnvelopeStateChunkE"]
5894 pub static mut SetEnvelopeStateChunk: ::std::option::Option<
5895 unsafe extern "C" fn(
5896 env: *mut root::TrackEnvelope,
5897 str: *const ::std::os::raw::c_char,
5898 isundoOptional: bool,
5899 ) -> bool,
5900 >;
5901 }
5902 extern "C" {
5903 #[link_name = "\u{1}_ZN16reaper_functions11SetExtStateE"]
5904 pub static mut SetExtState: ::std::option::Option<
5905 unsafe extern "C" fn(
5906 section: *const ::std::os::raw::c_char,
5907 key: *const ::std::os::raw::c_char,
5908 value: *const ::std::os::raw::c_char,
5909 persist: bool,
5910 ),
5911 >;
5912 }
5913 extern "C" {
5914 #[link_name = "\u{1}_ZN16reaper_functions27SetGlobalAutomationOverrideE"]
5915 pub static mut SetGlobalAutomationOverride:
5916 ::std::option::Option<unsafe extern "C" fn(mode: ::std::os::raw::c_int)>;
5917 }
5918 extern "C" {
5919 #[link_name = "\u{1}_ZN16reaper_functions17SetItemStateChunkE"]
5920 pub static mut SetItemStateChunk: ::std::option::Option<
5921 unsafe extern "C" fn(
5922 item: *mut root::MediaItem,
5923 str: *const ::std::os::raw::c_char,
5924 isundoOptional: bool,
5925 ) -> bool,
5926 >;
5927 }
5928 extern "C" {
5929 #[link_name = "\u{1}_ZN16reaper_functions24SetMasterTrackVisibilityE"]
5930 pub static mut SetMasterTrackVisibility: ::std::option::Option<
5931 unsafe extern "C" fn(flag: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
5932 >;
5933 }
5934 extern "C" {
5935 #[link_name = "\u{1}_ZN16reaper_functions22SetMediaItemInfo_ValueE"]
5936 pub static mut SetMediaItemInfo_Value: ::std::option::Option<
5937 unsafe extern "C" fn(
5938 item: *mut root::MediaItem,
5939 parmname: *const ::std::os::raw::c_char,
5940 newvalue: f64,
5941 ) -> bool,
5942 >;
5943 }
5944 extern "C" {
5945 #[link_name = "\u{1}_ZN16reaper_functions18SetMediaItemLengthE"]
5946 pub static mut SetMediaItemLength: ::std::option::Option<
5947 unsafe extern "C" fn(
5948 item: *mut root::MediaItem,
5949 length: f64,
5950 refreshUI: bool,
5951 ) -> bool,
5952 >;
5953 }
5954 extern "C" {
5955 #[link_name = "\u{1}_ZN16reaper_functions20SetMediaItemPositionE"]
5956 pub static mut SetMediaItemPosition: ::std::option::Option<
5957 unsafe extern "C" fn(
5958 item: *mut root::MediaItem,
5959 position: f64,
5960 refreshUI: bool,
5961 ) -> bool,
5962 >;
5963 }
5964 extern "C" {
5965 #[link_name = "\u{1}_ZN16reaper_functions20SetMediaItemSelectedE"]
5966 pub static mut SetMediaItemSelected: ::std::option::Option<
5967 unsafe extern "C" fn(item: *mut root::MediaItem, selected: bool),
5968 >;
5969 }
5970 extern "C" {
5971 #[link_name = "\u{1}_ZN16reaper_functions23SetMediaItemTake_SourceE"]
5972 pub static mut SetMediaItemTake_Source: ::std::option::Option<
5973 unsafe extern "C" fn(
5974 take: *mut root::MediaItem_Take,
5975 source: *mut root::PCM_source,
5976 ) -> bool,
5977 >;
5978 }
5979 extern "C" {
5980 #[link_name = "\u{1}_ZN16reaper_functions26SetMediaItemTakeInfo_ValueE"]
5981 pub static mut SetMediaItemTakeInfo_Value: ::std::option::Option<
5982 unsafe extern "C" fn(
5983 take: *mut root::MediaItem_Take,
5984 parmname: *const ::std::os::raw::c_char,
5985 newvalue: f64,
5986 ) -> bool,
5987 >;
5988 }
5989 extern "C" {
5990 #[link_name = "\u{1}_ZN16reaper_functions23SetMediaTrackInfo_ValueE"]
5991 pub static mut SetMediaTrackInfo_Value: ::std::option::Option<
5992 unsafe extern "C" fn(
5993 tr: *mut root::MediaTrack,
5994 parmname: *const ::std::os::raw::c_char,
5995 newvalue: f64,
5996 ) -> bool,
5997 >;
5998 }
5999 extern "C" {
6000 #[link_name = "\u{1}_ZN16reaper_functions17SetMIDIEditorGridE"]
6001 pub static mut SetMIDIEditorGrid: ::std::option::Option<
6002 unsafe extern "C" fn(project: *mut root::ReaProject, division: f64),
6003 >;
6004 }
6005 extern "C" {
6006 #[link_name = "\u{1}_ZN16reaper_functions14SetMixerScrollE"]
6007 pub static mut SetMixerScroll: ::std::option::Option<
6008 unsafe extern "C" fn(leftmosttrack: *mut root::MediaTrack) -> *mut root::MediaTrack,
6009 >;
6010 }
6011 extern "C" {
6012 #[link_name = "\u{1}_ZN16reaper_functions16SetMouseModifierE"]
6013 pub static mut SetMouseModifier: ::std::option::Option<
6014 unsafe extern "C" fn(
6015 context: *const ::std::os::raw::c_char,
6016 modifier_flag: ::std::os::raw::c_int,
6017 action: *const ::std::os::raw::c_char,
6018 ),
6019 >;
6020 }
6021 extern "C" {
6022 #[link_name = "\u{1}_ZN16reaper_functions20SetOnlyTrackSelectedE"]
6023 pub static mut SetOnlyTrackSelected:
6024 ::std::option::Option<unsafe extern "C" fn(track: *mut root::MediaTrack)>;
6025 }
6026 extern "C" {
6027 #[link_name = "\u{1}_ZN16reaper_functions14SetProjectGridE"]
6028 pub static mut SetProjectGrid: ::std::option::Option<
6029 unsafe extern "C" fn(project: *mut root::ReaProject, division: f64),
6030 >;
6031 }
6032 extern "C" {
6033 #[link_name = "\u{1}_ZN16reaper_functions16SetProjectMarkerE"]
6034 pub static mut SetProjectMarker: ::std::option::Option<
6035 unsafe extern "C" fn(
6036 markrgnindexnumber: ::std::os::raw::c_int,
6037 isrgn: bool,
6038 pos: f64,
6039 rgnend: f64,
6040 name: *const ::std::os::raw::c_char,
6041 ) -> bool,
6042 >;
6043 }
6044 extern "C" {
6045 #[link_name = "\u{1}_ZN16reaper_functions17SetProjectMarker2E"]
6046 pub static mut SetProjectMarker2: ::std::option::Option<
6047 unsafe extern "C" fn(
6048 proj: *mut root::ReaProject,
6049 markrgnindexnumber: ::std::os::raw::c_int,
6050 isrgn: bool,
6051 pos: f64,
6052 rgnend: f64,
6053 name: *const ::std::os::raw::c_char,
6054 ) -> bool,
6055 >;
6056 }
6057 extern "C" {
6058 #[link_name = "\u{1}_ZN16reaper_functions17SetProjectMarker3E"]
6059 pub static mut SetProjectMarker3: ::std::option::Option<
6060 unsafe extern "C" fn(
6061 proj: *mut root::ReaProject,
6062 markrgnindexnumber: ::std::os::raw::c_int,
6063 isrgn: bool,
6064 pos: f64,
6065 rgnend: f64,
6066 name: *const ::std::os::raw::c_char,
6067 color: ::std::os::raw::c_int,
6068 ) -> bool,
6069 >;
6070 }
6071 extern "C" {
6072 #[link_name = "\u{1}_ZN16reaper_functions17SetProjectMarker4E"]
6073 pub static mut SetProjectMarker4: ::std::option::Option<
6074 unsafe extern "C" fn(
6075 proj: *mut root::ReaProject,
6076 markrgnindexnumber: ::std::os::raw::c_int,
6077 isrgn: bool,
6078 pos: f64,
6079 rgnend: f64,
6080 name: *const ::std::os::raw::c_char,
6081 color: ::std::os::raw::c_int,
6082 flags: ::std::os::raw::c_int,
6083 ) -> bool,
6084 >;
6085 }
6086 extern "C" {
6087 #[link_name = "\u{1}_ZN16reaper_functions23SetProjectMarkerByIndexE"]
6088 pub static mut SetProjectMarkerByIndex: ::std::option::Option<
6089 unsafe extern "C" fn(
6090 proj: *mut root::ReaProject,
6091 markrgnidx: ::std::os::raw::c_int,
6092 isrgn: bool,
6093 pos: f64,
6094 rgnend: f64,
6095 IDnumber: ::std::os::raw::c_int,
6096 name: *const ::std::os::raw::c_char,
6097 color: ::std::os::raw::c_int,
6098 ) -> bool,
6099 >;
6100 }
6101 extern "C" {
6102 #[link_name = "\u{1}_ZN16reaper_functions24SetProjectMarkerByIndex2E"]
6103 pub static mut SetProjectMarkerByIndex2: ::std::option::Option<
6104 unsafe extern "C" fn(
6105 proj: *mut root::ReaProject,
6106 markrgnidx: ::std::os::raw::c_int,
6107 isrgn: bool,
6108 pos: f64,
6109 rgnend: f64,
6110 IDnumber: ::std::os::raw::c_int,
6111 name: *const ::std::os::raw::c_char,
6112 color: ::std::os::raw::c_int,
6113 flags: ::std::os::raw::c_int,
6114 ) -> bool,
6115 >;
6116 }
6117 extern "C" {
6118 #[link_name = "\u{1}_ZN16reaper_functions15SetProjExtStateE"]
6119 pub static mut SetProjExtState: ::std::option::Option<
6120 unsafe extern "C" fn(
6121 proj: *mut root::ReaProject,
6122 extname: *const ::std::os::raw::c_char,
6123 key: *const ::std::os::raw::c_char,
6124 value: *const ::std::os::raw::c_char,
6125 ) -> ::std::os::raw::c_int,
6126 >;
6127 }
6128 extern "C" {
6129 #[link_name = "\u{1}_ZN16reaper_functions21SetRegionRenderMatrixE"]
6130 pub static mut SetRegionRenderMatrix: ::std::option::Option<
6131 unsafe extern "C" fn(
6132 proj: *mut root::ReaProject,
6133 regionindex: ::std::os::raw::c_int,
6134 track: *mut root::MediaTrack,
6135 addorremove: ::std::os::raw::c_int,
6136 ),
6137 >;
6138 }
6139 extern "C" {
6140 #[link_name = "\u{1}_ZN16reaper_functions18SetRenderLastErrorE"]
6141 pub static mut SetRenderLastError: ::std::option::Option<
6142 unsafe extern "C" fn(errorstr: *const ::std::os::raw::c_char),
6143 >;
6144 }
6145 extern "C" {
6146 #[link_name = "\u{1}_ZN16reaper_functions20SetTakeStretchMarkerE"]
6147 pub static mut SetTakeStretchMarker: ::std::option::Option<
6148 unsafe extern "C" fn(
6149 take: *mut root::MediaItem_Take,
6150 idx: ::std::os::raw::c_int,
6151 pos: f64,
6152 srcposInOptional: *const f64,
6153 ) -> ::std::os::raw::c_int,
6154 >;
6155 }
6156 extern "C" {
6157 #[link_name = "\u{1}_ZN16reaper_functions25SetTakeStretchMarkerSlopeE"]
6158 pub static mut SetTakeStretchMarkerSlope: ::std::option::Option<
6159 unsafe extern "C" fn(
6160 take: *mut root::MediaItem_Take,
6161 idx: ::std::os::raw::c_int,
6162 slope: f64,
6163 ) -> bool,
6164 >;
6165 }
6166 extern "C" {
6167 #[link_name = "\u{1}_ZN16reaper_functions21SetTempoTimeSigMarkerE"]
6168 pub static mut SetTempoTimeSigMarker: ::std::option::Option<
6169 unsafe extern "C" fn(
6170 proj: *mut root::ReaProject,
6171 ptidx: ::std::os::raw::c_int,
6172 timepos: f64,
6173 measurepos: ::std::os::raw::c_int,
6174 beatpos: f64,
6175 bpm: f64,
6176 timesig_num: ::std::os::raw::c_int,
6177 timesig_denom: ::std::os::raw::c_int,
6178 lineartempo: bool,
6179 ) -> bool,
6180 >;
6181 }
6182 extern "C" {
6183 #[link_name = "\u{1}_ZN16reaper_functions21SetToggleCommandStateE"]
6184 pub static mut SetToggleCommandState: ::std::option::Option<
6185 unsafe extern "C" fn(
6186 section_id: ::std::os::raw::c_int,
6187 command_id: ::std::os::raw::c_int,
6188 state: ::std::os::raw::c_int,
6189 ) -> bool,
6190 >;
6191 }
6192 extern "C" {
6193 #[link_name = "\u{1}_ZN16reaper_functions22SetTrackAutomationModeE"]
6194 pub static mut SetTrackAutomationMode: ::std::option::Option<
6195 unsafe extern "C" fn(tr: *mut root::MediaTrack, mode: ::std::os::raw::c_int),
6196 >;
6197 }
6198 extern "C" {
6199 #[link_name = "\u{1}_ZN16reaper_functions13SetTrackColorE"]
6200 pub static mut SetTrackColor: ::std::option::Option<
6201 unsafe extern "C" fn(track: *mut root::MediaTrack, color: ::std::os::raw::c_int),
6202 >;
6203 }
6204 extern "C" {
6205 #[link_name = "\u{1}_ZN16reaper_functions18SetTrackMIDILyricsE"]
6206 pub static mut SetTrackMIDILyrics: ::std::option::Option<
6207 unsafe extern "C" fn(
6208 track: *mut root::MediaTrack,
6209 flag: ::std::os::raw::c_int,
6210 str: *const ::std::os::raw::c_char,
6211 ) -> bool,
6212 >;
6213 }
6214 extern "C" {
6215 #[link_name = "\u{1}_ZN16reaper_functions20SetTrackMIDINoteNameE"]
6216 pub static mut SetTrackMIDINoteName: ::std::option::Option<
6217 unsafe extern "C" fn(
6218 track: ::std::os::raw::c_int,
6219 pitch: ::std::os::raw::c_int,
6220 chan: ::std::os::raw::c_int,
6221 name: *const ::std::os::raw::c_char,
6222 ) -> bool,
6223 >;
6224 }
6225 extern "C" {
6226 #[link_name = "\u{1}_ZN16reaper_functions22SetTrackMIDINoteNameExE"]
6227 pub static mut SetTrackMIDINoteNameEx: ::std::option::Option<
6228 unsafe extern "C" fn(
6229 proj: *mut root::ReaProject,
6230 track: *mut root::MediaTrack,
6231 pitch: ::std::os::raw::c_int,
6232 chan: ::std::os::raw::c_int,
6233 name: *const ::std::os::raw::c_char,
6234 ) -> bool,
6235 >;
6236 }
6237 extern "C" {
6238 #[link_name = "\u{1}_ZN16reaper_functions16SetTrackSelectedE"]
6239 pub static mut SetTrackSelected: ::std::option::Option<
6240 unsafe extern "C" fn(track: *mut root::MediaTrack, selected: bool),
6241 >;
6242 }
6243 extern "C" {
6244 #[link_name = "\u{1}_ZN16reaper_functions22SetTrackSendInfo_ValueE"]
6245 pub static mut SetTrackSendInfo_Value: ::std::option::Option<
6246 unsafe extern "C" fn(
6247 tr: *mut root::MediaTrack,
6248 category: ::std::os::raw::c_int,
6249 sendidx: ::std::os::raw::c_int,
6250 parmname: *const ::std::os::raw::c_char,
6251 newvalue: f64,
6252 ) -> bool,
6253 >;
6254 }
6255 extern "C" {
6256 #[link_name = "\u{1}_ZN16reaper_functions17SetTrackSendUIPanE"]
6257 pub static mut SetTrackSendUIPan: ::std::option::Option<
6258 unsafe extern "C" fn(
6259 track: *mut root::MediaTrack,
6260 send_idx: ::std::os::raw::c_int,
6261 pan: f64,
6262 isend: ::std::os::raw::c_int,
6263 ) -> bool,
6264 >;
6265 }
6266 extern "C" {
6267 #[link_name = "\u{1}_ZN16reaper_functions17SetTrackSendUIVolE"]
6268 pub static mut SetTrackSendUIVol: ::std::option::Option<
6269 unsafe extern "C" fn(
6270 track: *mut root::MediaTrack,
6271 send_idx: ::std::os::raw::c_int,
6272 vol: f64,
6273 isend: ::std::os::raw::c_int,
6274 ) -> bool,
6275 >;
6276 }
6277 extern "C" {
6278 #[link_name = "\u{1}_ZN16reaper_functions18SetTrackStateChunkE"]
6279 pub static mut SetTrackStateChunk: ::std::option::Option<
6280 unsafe extern "C" fn(
6281 track: *mut root::MediaTrack,
6282 str: *const ::std::os::raw::c_char,
6283 isundoOptional: bool,
6284 ) -> bool,
6285 >;
6286 }
6287 extern "C" {
6288 #[link_name = "\u{1}_ZN16reaper_functions14ShowActionListE"]
6289 pub static mut ShowActionList: ::std::option::Option<
6290 unsafe extern "C" fn(caller: *mut root::KbdSectionInfo, callerWnd: root::HWND),
6291 >;
6292 }
6293 extern "C" {
6294 #[link_name = "\u{1}_ZN16reaper_functions14ShowConsoleMsgE"]
6295 pub static mut ShowConsoleMsg:
6296 ::std::option::Option<unsafe extern "C" fn(msg: *const ::std::os::raw::c_char)>;
6297 }
6298 extern "C" {
6299 #[link_name = "\u{1}_ZN16reaper_functions14ShowMessageBoxE"]
6300 pub static mut ShowMessageBox: ::std::option::Option<
6301 unsafe extern "C" fn(
6302 msg: *const ::std::os::raw::c_char,
6303 title: *const ::std::os::raw::c_char,
6304 type_: ::std::os::raw::c_int,
6305 ) -> ::std::os::raw::c_int,
6306 >;
6307 }
6308 extern "C" {
6309 #[link_name = "\u{1}_ZN16reaper_functions13ShowPopupMenuE"]
6310 pub static mut ShowPopupMenu: ::std::option::Option<
6311 unsafe extern "C" fn(
6312 name: *const ::std::os::raw::c_char,
6313 x: ::std::os::raw::c_int,
6314 y: ::std::os::raw::c_int,
6315 hwndParentOptional: root::HWND,
6316 ctxOptional: *mut ::std::os::raw::c_void,
6317 ctx2Optional: ::std::os::raw::c_int,
6318 ctx3Optional: ::std::os::raw::c_int,
6319 ),
6320 >;
6321 }
6322 extern "C" {
6323 #[link_name = "\u{1}_ZN16reaper_functions9SLIDER2DBE"]
6324 pub static mut SLIDER2DB: ::std::option::Option<unsafe extern "C" fn(y: f64) -> f64>;
6325 }
6326 extern "C" {
6327 #[link_name = "\u{1}_ZN16reaper_functions10SnapToGridE"]
6328 pub static mut SnapToGrid: ::std::option::Option<
6329 unsafe extern "C" fn(project: *mut root::ReaProject, time_pos: f64) -> f64,
6330 >;
6331 }
6332 extern "C" {
6333 #[link_name = "\u{1}_ZN16reaper_functions13SoloAllTracksE"]
6334 pub static mut SoloAllTracks:
6335 ::std::option::Option<unsafe extern "C" fn(solo: ::std::os::raw::c_int)>;
6336 }
6337 extern "C" {
6338 #[link_name = "\u{1}_ZN16reaper_functions13Splash_GetWndE"]
6339 pub static mut Splash_GetWnd:
6340 ::std::option::Option<unsafe extern "C" fn() -> root::HWND>;
6341 }
6342 extern "C" {
6343 #[link_name = "\u{1}_ZN16reaper_functions14SplitMediaItemE"]
6344 pub static mut SplitMediaItem: ::std::option::Option<
6345 unsafe extern "C" fn(
6346 item: *mut root::MediaItem,
6347 position: f64,
6348 ) -> *mut root::MediaItem,
6349 >;
6350 }
6351 extern "C" {
6352 #[link_name = "\u{1}_ZN16reaper_functions11StopPreviewE"]
6353 pub static mut StopPreview: ::std::option::Option<
6354 unsafe extern "C" fn(
6355 preview: *mut root::preview_register_t,
6356 ) -> ::std::os::raw::c_int,
6357 >;
6358 }
6359 extern "C" {
6360 #[link_name = "\u{1}_ZN16reaper_functions16StopTrackPreviewE"]
6361 pub static mut StopTrackPreview: ::std::option::Option<
6362 unsafe extern "C" fn(
6363 preview: *mut root::preview_register_t,
6364 ) -> ::std::os::raw::c_int,
6365 >;
6366 }
6367 extern "C" {
6368 #[link_name = "\u{1}_ZN16reaper_functions17StopTrackPreview2E"]
6369 pub static mut StopTrackPreview2: ::std::option::Option<
6370 unsafe extern "C" fn(
6371 proj: *mut ::std::os::raw::c_void,
6372 preview: *mut root::preview_register_t,
6373 ) -> ::std::os::raw::c_int,
6374 >;
6375 }
6376 extern "C" {
6377 #[link_name = "\u{1}_ZN16reaper_functions12stringToGuidE"]
6378 pub static mut stringToGuid: ::std::option::Option<
6379 unsafe extern "C" fn(str: *const ::std::os::raw::c_char, g: *mut root::GUID),
6380 >;
6381 }
6382 extern "C" {
6383 #[link_name = "\u{1}_ZN16reaper_functions16StuffMIDIMessageE"]
6384 pub static mut StuffMIDIMessage: ::std::option::Option<
6385 unsafe extern "C" fn(
6386 mode: ::std::os::raw::c_int,
6387 msg1: ::std::os::raw::c_int,
6388 msg2: ::std::os::raw::c_int,
6389 msg3: ::std::os::raw::c_int,
6390 ),
6391 >;
6392 }
6393 extern "C" {
6394 #[link_name = "\u{1}_ZN16reaper_functions16TakeFX_AddByNameE"]
6395 pub static mut TakeFX_AddByName: ::std::option::Option<
6396 unsafe extern "C" fn(
6397 take: *mut root::MediaItem_Take,
6398 fxname: *const ::std::os::raw::c_char,
6399 instantiate: ::std::os::raw::c_int,
6400 ) -> ::std::os::raw::c_int,
6401 >;
6402 }
6403 extern "C" {
6404 #[link_name = "\u{1}_ZN16reaper_functions17TakeFX_CopyToTakeE"]
6405 pub static mut TakeFX_CopyToTake: ::std::option::Option<
6406 unsafe extern "C" fn(
6407 src_take: *mut root::MediaItem_Take,
6408 src_fx: ::std::os::raw::c_int,
6409 dest_take: *mut root::MediaItem_Take,
6410 dest_fx: ::std::os::raw::c_int,
6411 is_move: bool,
6412 ),
6413 >;
6414 }
6415 extern "C" {
6416 #[link_name = "\u{1}_ZN16reaper_functions18TakeFX_CopyToTrackE"]
6417 pub static mut TakeFX_CopyToTrack: ::std::option::Option<
6418 unsafe extern "C" fn(
6419 src_take: *mut root::MediaItem_Take,
6420 src_fx: ::std::os::raw::c_int,
6421 dest_track: *mut root::MediaTrack,
6422 dest_fx: ::std::os::raw::c_int,
6423 is_move: bool,
6424 ),
6425 >;
6426 }
6427 extern "C" {
6428 #[link_name = "\u{1}_ZN16reaper_functions13TakeFX_DeleteE"]
6429 pub static mut TakeFX_Delete: ::std::option::Option<
6430 unsafe extern "C" fn(
6431 take: *mut root::MediaItem_Take,
6432 fx: ::std::os::raw::c_int,
6433 ) -> bool,
6434 >;
6435 }
6436 extern "C" {
6437 #[link_name = "\u{1}_ZN16reaper_functions19TakeFX_EndParamEditE"]
6438 pub static mut TakeFX_EndParamEdit: ::std::option::Option<
6439 unsafe extern "C" fn(
6440 take: *mut root::MediaItem_Take,
6441 fx: ::std::os::raw::c_int,
6442 param: ::std::os::raw::c_int,
6443 ) -> bool,
6444 >;
6445 }
6446 extern "C" {
6447 #[link_name = "\u{1}_ZN16reaper_functions23TakeFX_FormatParamValueE"]
6448 pub static mut TakeFX_FormatParamValue: ::std::option::Option<
6449 unsafe extern "C" fn(
6450 take: *mut root::MediaItem_Take,
6451 fx: ::std::os::raw::c_int,
6452 param: ::std::os::raw::c_int,
6453 val: f64,
6454 buf: *mut ::std::os::raw::c_char,
6455 buf_sz: ::std::os::raw::c_int,
6456 ) -> bool,
6457 >;
6458 }
6459 extern "C" {
6460 #[link_name = "\u{1}_ZN16reaper_functions33TakeFX_FormatParamValueNormalizedE"]
6461 pub static mut TakeFX_FormatParamValueNormalized: ::std::option::Option<
6462 unsafe extern "C" fn(
6463 take: *mut root::MediaItem_Take,
6464 fx: ::std::os::raw::c_int,
6465 param: ::std::os::raw::c_int,
6466 value: f64,
6467 buf: *mut ::std::os::raw::c_char,
6468 buf_sz: ::std::os::raw::c_int,
6469 ) -> bool,
6470 >;
6471 }
6472 extern "C" {
6473 #[link_name = "\u{1}_ZN16reaper_functions22TakeFX_GetChainVisibleE"]
6474 pub static mut TakeFX_GetChainVisible: ::std::option::Option<
6475 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> ::std::os::raw::c_int,
6476 >;
6477 }
6478 extern "C" {
6479 #[link_name = "\u{1}_ZN16reaper_functions15TakeFX_GetCountE"]
6480 pub static mut TakeFX_GetCount: ::std::option::Option<
6481 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> ::std::os::raw::c_int,
6482 >;
6483 }
6484 extern "C" {
6485 #[link_name = "\u{1}_ZN16reaper_functions17TakeFX_GetEnabledE"]
6486 pub static mut TakeFX_GetEnabled: ::std::option::Option<
6487 unsafe extern "C" fn(
6488 take: *mut root::MediaItem_Take,
6489 fx: ::std::os::raw::c_int,
6490 ) -> bool,
6491 >;
6492 }
6493 extern "C" {
6494 #[link_name = "\u{1}_ZN16reaper_functions18TakeFX_GetEnvelopeE"]
6495 pub static mut TakeFX_GetEnvelope: ::std::option::Option<
6496 unsafe extern "C" fn(
6497 take: *mut root::MediaItem_Take,
6498 fxindex: ::std::os::raw::c_int,
6499 parameterindex: ::std::os::raw::c_int,
6500 create: bool,
6501 ) -> *mut root::TrackEnvelope,
6502 >;
6503 }
6504 extern "C" {
6505 #[link_name = "\u{1}_ZN16reaper_functions24TakeFX_GetFloatingWindowE"]
6506 pub static mut TakeFX_GetFloatingWindow: ::std::option::Option<
6507 unsafe extern "C" fn(
6508 take: *mut root::MediaItem_Take,
6509 index: ::std::os::raw::c_int,
6510 ) -> root::HWND,
6511 >;
6512 }
6513 extern "C" {
6514 #[link_name = "\u{1}_ZN16reaper_functions29TakeFX_GetFormattedParamValueE"]
6515 pub static mut TakeFX_GetFormattedParamValue: ::std::option::Option<
6516 unsafe extern "C" fn(
6517 take: *mut root::MediaItem_Take,
6518 fx: ::std::os::raw::c_int,
6519 param: ::std::os::raw::c_int,
6520 buf: *mut ::std::os::raw::c_char,
6521 buf_sz: ::std::os::raw::c_int,
6522 ) -> bool,
6523 >;
6524 }
6525 extern "C" {
6526 #[link_name = "\u{1}_ZN16reaper_functions16TakeFX_GetFXGUIDE"]
6527 pub static mut TakeFX_GetFXGUID: ::std::option::Option<
6528 unsafe extern "C" fn(
6529 take: *mut root::MediaItem_Take,
6530 fx: ::std::os::raw::c_int,
6531 ) -> *mut root::GUID,
6532 >;
6533 }
6534 extern "C" {
6535 #[link_name = "\u{1}_ZN16reaper_functions16TakeFX_GetFXNameE"]
6536 pub static mut TakeFX_GetFXName: ::std::option::Option<
6537 unsafe extern "C" fn(
6538 take: *mut root::MediaItem_Take,
6539 fx: ::std::os::raw::c_int,
6540 buf: *mut ::std::os::raw::c_char,
6541 buf_sz: ::std::os::raw::c_int,
6542 ) -> bool,
6543 >;
6544 }
6545 extern "C" {
6546 #[link_name = "\u{1}_ZN16reaper_functions16TakeFX_GetIOSizeE"]
6547 pub static mut TakeFX_GetIOSize: ::std::option::Option<
6548 unsafe extern "C" fn(
6549 take: *mut root::MediaItem_Take,
6550 fx: ::std::os::raw::c_int,
6551 inputPinsOutOptional: *mut ::std::os::raw::c_int,
6552 outputPinsOutOptional: *mut ::std::os::raw::c_int,
6553 ) -> ::std::os::raw::c_int,
6554 >;
6555 }
6556 extern "C" {
6557 #[link_name = "\u{1}_ZN16reaper_functions25TakeFX_GetNamedConfigParmE"]
6558 pub static mut TakeFX_GetNamedConfigParm: ::std::option::Option<
6559 unsafe extern "C" fn(
6560 take: *mut root::MediaItem_Take,
6561 fx: ::std::os::raw::c_int,
6562 parmname: *const ::std::os::raw::c_char,
6563 bufOut: *mut ::std::os::raw::c_char,
6564 bufOut_sz: ::std::os::raw::c_int,
6565 ) -> bool,
6566 >;
6567 }
6568 extern "C" {
6569 #[link_name = "\u{1}_ZN16reaper_functions19TakeFX_GetNumParamsE"]
6570 pub static mut TakeFX_GetNumParams: ::std::option::Option<
6571 unsafe extern "C" fn(
6572 take: *mut root::MediaItem_Take,
6573 fx: ::std::os::raw::c_int,
6574 ) -> ::std::os::raw::c_int,
6575 >;
6576 }
6577 extern "C" {
6578 #[link_name = "\u{1}_ZN16reaper_functions17TakeFX_GetOfflineE"]
6579 pub static mut TakeFX_GetOffline: ::std::option::Option<
6580 unsafe extern "C" fn(
6581 take: *mut root::MediaItem_Take,
6582 fx: ::std::os::raw::c_int,
6583 ) -> bool,
6584 >;
6585 }
6586 extern "C" {
6587 #[link_name = "\u{1}_ZN16reaper_functions14TakeFX_GetOpenE"]
6588 pub static mut TakeFX_GetOpen: ::std::option::Option<
6589 unsafe extern "C" fn(
6590 take: *mut root::MediaItem_Take,
6591 fx: ::std::os::raw::c_int,
6592 ) -> bool,
6593 >;
6594 }
6595 extern "C" {
6596 #[link_name = "\u{1}_ZN16reaper_functions15TakeFX_GetParamE"]
6597 pub static mut TakeFX_GetParam: ::std::option::Option<
6598 unsafe extern "C" fn(
6599 take: *mut root::MediaItem_Take,
6600 fx: ::std::os::raw::c_int,
6601 param: ::std::os::raw::c_int,
6602 minvalOut: *mut f64,
6603 maxvalOut: *mut f64,
6604 ) -> f64,
6605 >;
6606 }
6607 extern "C" {
6608 #[link_name = "\u{1}_ZN16reaper_functions28TakeFX_GetParameterStepSizesE"]
6609 pub static mut TakeFX_GetParameterStepSizes: ::std::option::Option<
6610 unsafe extern "C" fn(
6611 take: *mut root::MediaItem_Take,
6612 fx: ::std::os::raw::c_int,
6613 param: ::std::os::raw::c_int,
6614 stepOut: *mut f64,
6615 smallstepOut: *mut f64,
6616 largestepOut: *mut f64,
6617 istoggleOut: *mut bool,
6618 ) -> bool,
6619 >;
6620 }
6621 extern "C" {
6622 #[link_name = "\u{1}_ZN16reaper_functions17TakeFX_GetParamExE"]
6623 pub static mut TakeFX_GetParamEx: ::std::option::Option<
6624 unsafe extern "C" fn(
6625 take: *mut root::MediaItem_Take,
6626 fx: ::std::os::raw::c_int,
6627 param: ::std::os::raw::c_int,
6628 minvalOut: *mut f64,
6629 maxvalOut: *mut f64,
6630 midvalOut: *mut f64,
6631 ) -> f64,
6632 >;
6633 }
6634 extern "C" {
6635 #[link_name = "\u{1}_ZN16reaper_functions19TakeFX_GetParamNameE"]
6636 pub static mut TakeFX_GetParamName: ::std::option::Option<
6637 unsafe extern "C" fn(
6638 take: *mut root::MediaItem_Take,
6639 fx: ::std::os::raw::c_int,
6640 param: ::std::os::raw::c_int,
6641 buf: *mut ::std::os::raw::c_char,
6642 buf_sz: ::std::os::raw::c_int,
6643 ) -> bool,
6644 >;
6645 }
6646 extern "C" {
6647 #[link_name = "\u{1}_ZN16reaper_functions25TakeFX_GetParamNormalizedE"]
6648 pub static mut TakeFX_GetParamNormalized: ::std::option::Option<
6649 unsafe extern "C" fn(
6650 take: *mut root::MediaItem_Take,
6651 fx: ::std::os::raw::c_int,
6652 param: ::std::os::raw::c_int,
6653 ) -> f64,
6654 >;
6655 }
6656 extern "C" {
6657 #[link_name = "\u{1}_ZN16reaper_functions21TakeFX_GetPinMappingsE"]
6658 pub static mut TakeFX_GetPinMappings: ::std::option::Option<
6659 unsafe extern "C" fn(
6660 tr: *mut root::MediaItem_Take,
6661 fx: ::std::os::raw::c_int,
6662 isoutput: ::std::os::raw::c_int,
6663 pin: ::std::os::raw::c_int,
6664 high32OutOptional: *mut ::std::os::raw::c_int,
6665 ) -> ::std::os::raw::c_int,
6666 >;
6667 }
6668 extern "C" {
6669 #[link_name = "\u{1}_ZN16reaper_functions16TakeFX_GetPresetE"]
6670 pub static mut TakeFX_GetPreset: ::std::option::Option<
6671 unsafe extern "C" fn(
6672 take: *mut root::MediaItem_Take,
6673 fx: ::std::os::raw::c_int,
6674 presetname: *mut ::std::os::raw::c_char,
6675 presetname_sz: ::std::os::raw::c_int,
6676 ) -> bool,
6677 >;
6678 }
6679 extern "C" {
6680 #[link_name = "\u{1}_ZN16reaper_functions21TakeFX_GetPresetIndexE"]
6681 pub static mut TakeFX_GetPresetIndex: ::std::option::Option<
6682 unsafe extern "C" fn(
6683 take: *mut root::MediaItem_Take,
6684 fx: ::std::os::raw::c_int,
6685 numberOfPresetsOut: *mut ::std::os::raw::c_int,
6686 ) -> ::std::os::raw::c_int,
6687 >;
6688 }
6689 extern "C" {
6690 #[link_name = "\u{1}_ZN16reaper_functions28TakeFX_GetUserPresetFilenameE"]
6691 pub static mut TakeFX_GetUserPresetFilename: ::std::option::Option<
6692 unsafe extern "C" fn(
6693 take: *mut root::MediaItem_Take,
6694 fx: ::std::os::raw::c_int,
6695 fn_: *mut ::std::os::raw::c_char,
6696 fn_sz: ::std::os::raw::c_int,
6697 ),
6698 >;
6699 }
6700 extern "C" {
6701 #[link_name = "\u{1}_ZN16reaper_functions22TakeFX_NavigatePresetsE"]
6702 pub static mut TakeFX_NavigatePresets: ::std::option::Option<
6703 unsafe extern "C" fn(
6704 take: *mut root::MediaItem_Take,
6705 fx: ::std::os::raw::c_int,
6706 presetmove: ::std::os::raw::c_int,
6707 ) -> bool,
6708 >;
6709 }
6710 extern "C" {
6711 #[link_name = "\u{1}_ZN16reaper_functions17TakeFX_SetEnabledE"]
6712 pub static mut TakeFX_SetEnabled: ::std::option::Option<
6713 unsafe extern "C" fn(
6714 take: *mut root::MediaItem_Take,
6715 fx: ::std::os::raw::c_int,
6716 enabled: bool,
6717 ),
6718 >;
6719 }
6720 extern "C" {
6721 #[link_name = "\u{1}_ZN16reaper_functions25TakeFX_SetNamedConfigParmE"]
6722 pub static mut TakeFX_SetNamedConfigParm: ::std::option::Option<
6723 unsafe extern "C" fn(
6724 take: *mut root::MediaItem_Take,
6725 fx: ::std::os::raw::c_int,
6726 parmname: *const ::std::os::raw::c_char,
6727 value: *const ::std::os::raw::c_char,
6728 ) -> bool,
6729 >;
6730 }
6731 extern "C" {
6732 #[link_name = "\u{1}_ZN16reaper_functions17TakeFX_SetOfflineE"]
6733 pub static mut TakeFX_SetOffline: ::std::option::Option<
6734 unsafe extern "C" fn(
6735 take: *mut root::MediaItem_Take,
6736 fx: ::std::os::raw::c_int,
6737 offline: bool,
6738 ),
6739 >;
6740 }
6741 extern "C" {
6742 #[link_name = "\u{1}_ZN16reaper_functions14TakeFX_SetOpenE"]
6743 pub static mut TakeFX_SetOpen: ::std::option::Option<
6744 unsafe extern "C" fn(
6745 take: *mut root::MediaItem_Take,
6746 fx: ::std::os::raw::c_int,
6747 open: bool,
6748 ),
6749 >;
6750 }
6751 extern "C" {
6752 #[link_name = "\u{1}_ZN16reaper_functions15TakeFX_SetParamE"]
6753 pub static mut TakeFX_SetParam: ::std::option::Option<
6754 unsafe extern "C" fn(
6755 take: *mut root::MediaItem_Take,
6756 fx: ::std::os::raw::c_int,
6757 param: ::std::os::raw::c_int,
6758 val: f64,
6759 ) -> bool,
6760 >;
6761 }
6762 extern "C" {
6763 #[link_name = "\u{1}_ZN16reaper_functions25TakeFX_SetParamNormalizedE"]
6764 pub static mut TakeFX_SetParamNormalized: ::std::option::Option<
6765 unsafe extern "C" fn(
6766 take: *mut root::MediaItem_Take,
6767 fx: ::std::os::raw::c_int,
6768 param: ::std::os::raw::c_int,
6769 value: f64,
6770 ) -> bool,
6771 >;
6772 }
6773 extern "C" {
6774 #[link_name = "\u{1}_ZN16reaper_functions21TakeFX_SetPinMappingsE"]
6775 pub static mut TakeFX_SetPinMappings: ::std::option::Option<
6776 unsafe extern "C" fn(
6777 tr: *mut root::MediaItem_Take,
6778 fx: ::std::os::raw::c_int,
6779 isoutput: ::std::os::raw::c_int,
6780 pin: ::std::os::raw::c_int,
6781 low32bits: ::std::os::raw::c_int,
6782 hi32bits: ::std::os::raw::c_int,
6783 ) -> bool,
6784 >;
6785 }
6786 extern "C" {
6787 #[link_name = "\u{1}_ZN16reaper_functions16TakeFX_SetPresetE"]
6788 pub static mut TakeFX_SetPreset: ::std::option::Option<
6789 unsafe extern "C" fn(
6790 take: *mut root::MediaItem_Take,
6791 fx: ::std::os::raw::c_int,
6792 presetname: *const ::std::os::raw::c_char,
6793 ) -> bool,
6794 >;
6795 }
6796 extern "C" {
6797 #[link_name = "\u{1}_ZN16reaper_functions23TakeFX_SetPresetByIndexE"]
6798 pub static mut TakeFX_SetPresetByIndex: ::std::option::Option<
6799 unsafe extern "C" fn(
6800 take: *mut root::MediaItem_Take,
6801 fx: ::std::os::raw::c_int,
6802 idx: ::std::os::raw::c_int,
6803 ) -> bool,
6804 >;
6805 }
6806 extern "C" {
6807 #[link_name = "\u{1}_ZN16reaper_functions11TakeFX_ShowE"]
6808 pub static mut TakeFX_Show: ::std::option::Option<
6809 unsafe extern "C" fn(
6810 take: *mut root::MediaItem_Take,
6811 index: ::std::os::raw::c_int,
6812 showFlag: ::std::os::raw::c_int,
6813 ),
6814 >;
6815 }
6816 extern "C" {
6817 #[link_name = "\u{1}_ZN16reaper_functions10TakeIsMIDIE"]
6818 pub static mut TakeIsMIDI: ::std::option::Option<
6819 unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> bool,
6820 >;
6821 }
6822 extern "C" {
6823 #[link_name = "\u{1}_ZN16reaper_functions21ThemeLayout_GetLayoutE"]
6824 pub static mut ThemeLayout_GetLayout: ::std::option::Option<
6825 unsafe extern "C" fn(
6826 section: *const ::std::os::raw::c_char,
6827 idx: ::std::os::raw::c_int,
6828 nameOut: *mut ::std::os::raw::c_char,
6829 nameOut_sz: ::std::os::raw::c_int,
6830 ) -> bool,
6831 >;
6832 }
6833 extern "C" {
6834 #[link_name = "\u{1}_ZN16reaper_functions24ThemeLayout_GetParameterE"]
6835 pub static mut ThemeLayout_GetParameter: ::std::option::Option<
6836 unsafe extern "C" fn(
6837 wp: ::std::os::raw::c_int,
6838 descOutOptional: *mut *const ::std::os::raw::c_char,
6839 valueOutOptional: *mut ::std::os::raw::c_int,
6840 defValueOutOptional: *mut ::std::os::raw::c_int,
6841 minValueOutOptional: *mut ::std::os::raw::c_int,
6842 maxValueOutOptional: *mut ::std::os::raw::c_int,
6843 ) -> *const ::std::os::raw::c_char,
6844 >;
6845 }
6846 extern "C" {
6847 #[link_name = "\u{1}_ZN16reaper_functions22ThemeLayout_RefreshAllE"]
6848 pub static mut ThemeLayout_RefreshAll: ::std::option::Option<unsafe extern "C" fn()>;
6849 }
6850 extern "C" {
6851 #[link_name = "\u{1}_ZN16reaper_functions21ThemeLayout_SetLayoutE"]
6852 pub static mut ThemeLayout_SetLayout: ::std::option::Option<
6853 unsafe extern "C" fn(
6854 section: *const ::std::os::raw::c_char,
6855 layout: *const ::std::os::raw::c_char,
6856 ) -> bool,
6857 >;
6858 }
6859 extern "C" {
6860 #[link_name = "\u{1}_ZN16reaper_functions24ThemeLayout_SetParameterE"]
6861 pub static mut ThemeLayout_SetParameter: ::std::option::Option<
6862 unsafe extern "C" fn(
6863 wp: ::std::os::raw::c_int,
6864 value: ::std::os::raw::c_int,
6865 persist: bool,
6866 ) -> bool,
6867 >;
6868 }
6869 extern "C" {
6870 #[link_name = "\u{1}_ZN16reaper_functions12time_preciseE"]
6871 pub static mut time_precise: ::std::option::Option<unsafe extern "C" fn() -> f64>;
6872 }
6873 extern "C" {
6874 #[link_name = "\u{1}_ZN16reaper_functions20TimeMap2_beatsToTimeE"]
6875 pub static mut TimeMap2_beatsToTime: ::std::option::Option<
6876 unsafe extern "C" fn(
6877 proj: *mut root::ReaProject,
6878 tpos: f64,
6879 measuresInOptional: *const ::std::os::raw::c_int,
6880 ) -> f64,
6881 >;
6882 }
6883 extern "C" {
6884 #[link_name = "\u{1}_ZN16reaper_functions28TimeMap2_GetDividedBpmAtTimeE"]
6885 pub static mut TimeMap2_GetDividedBpmAtTime: ::std::option::Option<
6886 unsafe extern "C" fn(proj: *mut root::ReaProject, time: f64) -> f64,
6887 >;
6888 }
6889 extern "C" {
6890 #[link_name = "\u{1}_ZN16reaper_functions26TimeMap2_GetNextChangeTimeE"]
6891 pub static mut TimeMap2_GetNextChangeTime: ::std::option::Option<
6892 unsafe extern "C" fn(proj: *mut root::ReaProject, time: f64) -> f64,
6893 >;
6894 }
6895 extern "C" {
6896 #[link_name = "\u{1}_ZN16reaper_functions17TimeMap2_QNToTimeE"]
6897 pub static mut TimeMap2_QNToTime: ::std::option::Option<
6898 unsafe extern "C" fn(proj: *mut root::ReaProject, qn: f64) -> f64,
6899 >;
6900 }
6901 extern "C" {
6902 #[link_name = "\u{1}_ZN16reaper_functions20TimeMap2_timeToBeatsE"]
6903 pub static mut TimeMap2_timeToBeats: ::std::option::Option<
6904 unsafe extern "C" fn(
6905 proj: *mut root::ReaProject,
6906 tpos: f64,
6907 measuresOutOptional: *mut ::std::os::raw::c_int,
6908 cmlOutOptional: *mut ::std::os::raw::c_int,
6909 fullbeatsOutOptional: *mut f64,
6910 cdenomOutOptional: *mut ::std::os::raw::c_int,
6911 ) -> f64,
6912 >;
6913 }
6914 extern "C" {
6915 #[link_name = "\u{1}_ZN16reaper_functions17TimeMap2_timeToQNE"]
6916 pub static mut TimeMap2_timeToQN: ::std::option::Option<
6917 unsafe extern "C" fn(proj: *mut root::ReaProject, tpos: f64) -> f64,
6918 >;
6919 }
6920 extern "C" {
6921 #[link_name = "\u{1}_ZN16reaper_functions20TimeMap_curFrameRateE"]
6922 pub static mut TimeMap_curFrameRate: ::std::option::Option<
6923 unsafe extern "C" fn(
6924 proj: *mut root::ReaProject,
6925 dropFrameOutOptional: *mut bool,
6926 ) -> f64,
6927 >;
6928 }
6929 extern "C" {
6930 #[link_name = "\u{1}_ZN16reaper_functions27TimeMap_GetDividedBpmAtTimeE"]
6931 pub static mut TimeMap_GetDividedBpmAtTime:
6932 ::std::option::Option<unsafe extern "C" fn(time: f64) -> f64>;
6933 }
6934 extern "C" {
6935 #[link_name = "\u{1}_ZN16reaper_functions22TimeMap_GetMeasureInfoE"]
6936 pub static mut TimeMap_GetMeasureInfo: ::std::option::Option<
6937 unsafe extern "C" fn(
6938 proj: *mut root::ReaProject,
6939 measure: ::std::os::raw::c_int,
6940 qn_startOut: *mut f64,
6941 qn_endOut: *mut f64,
6942 timesig_numOut: *mut ::std::os::raw::c_int,
6943 timesig_denomOut: *mut ::std::os::raw::c_int,
6944 tempoOut: *mut f64,
6945 ) -> f64,
6946 >;
6947 }
6948 extern "C" {
6949 #[link_name = "\u{1}_ZN16reaper_functions27TimeMap_GetMetronomePatternE"]
6950 pub static mut TimeMap_GetMetronomePattern: ::std::option::Option<
6951 unsafe extern "C" fn(
6952 proj: *mut root::ReaProject,
6953 time: f64,
6954 pattern: *mut ::std::os::raw::c_char,
6955 pattern_sz: ::std::os::raw::c_int,
6956 ) -> ::std::os::raw::c_int,
6957 >;
6958 }
6959 extern "C" {
6960 #[link_name = "\u{1}_ZN16reaper_functions24TimeMap_GetTimeSigAtTimeE"]
6961 pub static mut TimeMap_GetTimeSigAtTime: ::std::option::Option<
6962 unsafe extern "C" fn(
6963 proj: *mut root::ReaProject,
6964 time: f64,
6965 timesig_numOut: *mut ::std::os::raw::c_int,
6966 timesig_denomOut: *mut ::std::os::raw::c_int,
6967 tempoOut: *mut f64,
6968 ),
6969 >;
6970 }
6971 extern "C" {
6972 #[link_name = "\u{1}_ZN16reaper_functions20TimeMap_QNToMeasuresE"]
6973 pub static mut TimeMap_QNToMeasures: ::std::option::Option<
6974 unsafe extern "C" fn(
6975 proj: *mut root::ReaProject,
6976 qn: f64,
6977 qnMeasureStartOutOptional: *mut f64,
6978 qnMeasureEndOutOptional: *mut f64,
6979 ) -> ::std::os::raw::c_int,
6980 >;
6981 }
6982 extern "C" {
6983 #[link_name = "\u{1}_ZN16reaper_functions16TimeMap_QNToTimeE"]
6984 pub static mut TimeMap_QNToTime:
6985 ::std::option::Option<unsafe extern "C" fn(qn: f64) -> f64>;
6986 }
6987 extern "C" {
6988 #[link_name = "\u{1}_ZN16reaper_functions20TimeMap_QNToTime_absE"]
6989 pub static mut TimeMap_QNToTime_abs: ::std::option::Option<
6990 unsafe extern "C" fn(proj: *mut root::ReaProject, qn: f64) -> f64,
6991 >;
6992 }
6993 extern "C" {
6994 #[link_name = "\u{1}_ZN16reaper_functions16TimeMap_timeToQNE"]
6995 pub static mut TimeMap_timeToQN:
6996 ::std::option::Option<unsafe extern "C" fn(tpos: f64) -> f64>;
6997 }
6998 extern "C" {
6999 #[link_name = "\u{1}_ZN16reaper_functions20TimeMap_timeToQN_absE"]
7000 pub static mut TimeMap_timeToQN_abs: ::std::option::Option<
7001 unsafe extern "C" fn(proj: *mut root::ReaProject, tpos: f64) -> f64,
7002 >;
7003 }
7004 extern "C" {
7005 #[link_name = "\u{1}_ZN16reaper_functions21ToggleTrackSendUIMuteE"]
7006 pub static mut ToggleTrackSendUIMute: ::std::option::Option<
7007 unsafe extern "C" fn(
7008 track: *mut root::MediaTrack,
7009 send_idx: ::std::os::raw::c_int,
7010 ) -> bool,
7011 >;
7012 }
7013 extern "C" {
7014 #[link_name = "\u{1}_ZN16reaper_functions19Track_GetPeakHoldDBE"]
7015 pub static mut Track_GetPeakHoldDB: ::std::option::Option<
7016 unsafe extern "C" fn(
7017 track: *mut root::MediaTrack,
7018 channel: ::std::os::raw::c_int,
7019 clear: bool,
7020 ) -> f64,
7021 >;
7022 }
7023 extern "C" {
7024 #[link_name = "\u{1}_ZN16reaper_functions17Track_GetPeakInfoE"]
7025 pub static mut Track_GetPeakInfo: ::std::option::Option<
7026 unsafe extern "C" fn(
7027 track: *mut root::MediaTrack,
7028 channel: ::std::os::raw::c_int,
7029 ) -> f64,
7030 >;
7031 }
7032 extern "C" {
7033 #[link_name = "\u{1}_ZN16reaper_functions19TrackCtl_SetToolTipE"]
7034 pub static mut TrackCtl_SetToolTip: ::std::option::Option<
7035 unsafe extern "C" fn(
7036 fmt: *const ::std::os::raw::c_char,
7037 xpos: ::std::os::raw::c_int,
7038 ypos: ::std::os::raw::c_int,
7039 topmost: bool,
7040 ),
7041 >;
7042 }
7043 extern "C" {
7044 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_AddByNameE"]
7045 pub static mut TrackFX_AddByName: ::std::option::Option<
7046 unsafe extern "C" fn(
7047 track: *mut root::MediaTrack,
7048 fxname: *const ::std::os::raw::c_char,
7049 recFX: bool,
7050 instantiate: ::std::os::raw::c_int,
7051 ) -> ::std::os::raw::c_int,
7052 >;
7053 }
7054 extern "C" {
7055 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_CopyToTakeE"]
7056 pub static mut TrackFX_CopyToTake: ::std::option::Option<
7057 unsafe extern "C" fn(
7058 src_track: *mut root::MediaTrack,
7059 src_fx: ::std::os::raw::c_int,
7060 dest_take: *mut root::MediaItem_Take,
7061 dest_fx: ::std::os::raw::c_int,
7062 is_move: bool,
7063 ),
7064 >;
7065 }
7066 extern "C" {
7067 #[link_name = "\u{1}_ZN16reaper_functions19TrackFX_CopyToTrackE"]
7068 pub static mut TrackFX_CopyToTrack: ::std::option::Option<
7069 unsafe extern "C" fn(
7070 src_track: *mut root::MediaTrack,
7071 src_fx: ::std::os::raw::c_int,
7072 dest_track: *mut root::MediaTrack,
7073 dest_fx: ::std::os::raw::c_int,
7074 is_move: bool,
7075 ),
7076 >;
7077 }
7078 extern "C" {
7079 #[link_name = "\u{1}_ZN16reaper_functions14TrackFX_DeleteE"]
7080 pub static mut TrackFX_Delete: ::std::option::Option<
7081 unsafe extern "C" fn(
7082 track: *mut root::MediaTrack,
7083 fx: ::std::os::raw::c_int,
7084 ) -> bool,
7085 >;
7086 }
7087 extern "C" {
7088 #[link_name = "\u{1}_ZN16reaper_functions20TrackFX_EndParamEditE"]
7089 pub static mut TrackFX_EndParamEdit: ::std::option::Option<
7090 unsafe extern "C" fn(
7091 track: *mut root::MediaTrack,
7092 fx: ::std::os::raw::c_int,
7093 param: ::std::os::raw::c_int,
7094 ) -> bool,
7095 >;
7096 }
7097 extern "C" {
7098 #[link_name = "\u{1}_ZN16reaper_functions24TrackFX_FormatParamValueE"]
7099 pub static mut TrackFX_FormatParamValue: ::std::option::Option<
7100 unsafe extern "C" fn(
7101 track: *mut root::MediaTrack,
7102 fx: ::std::os::raw::c_int,
7103 param: ::std::os::raw::c_int,
7104 val: f64,
7105 buf: *mut ::std::os::raw::c_char,
7106 buf_sz: ::std::os::raw::c_int,
7107 ) -> bool,
7108 >;
7109 }
7110 extern "C" {
7111 #[link_name = "\u{1}_ZN16reaper_functions34TrackFX_FormatParamValueNormalizedE"]
7112 pub static mut TrackFX_FormatParamValueNormalized: ::std::option::Option<
7113 unsafe extern "C" fn(
7114 track: *mut root::MediaTrack,
7115 fx: ::std::os::raw::c_int,
7116 param: ::std::os::raw::c_int,
7117 value: f64,
7118 buf: *mut ::std::os::raw::c_char,
7119 buf_sz: ::std::os::raw::c_int,
7120 ) -> bool,
7121 >;
7122 }
7123 extern "C" {
7124 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_GetByNameE"]
7125 pub static mut TrackFX_GetByName: ::std::option::Option<
7126 unsafe extern "C" fn(
7127 track: *mut root::MediaTrack,
7128 fxname: *const ::std::os::raw::c_char,
7129 instantiate: bool,
7130 ) -> ::std::os::raw::c_int,
7131 >;
7132 }
7133 extern "C" {
7134 #[link_name = "\u{1}_ZN16reaper_functions23TrackFX_GetChainVisibleE"]
7135 pub static mut TrackFX_GetChainVisible: ::std::option::Option<
7136 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
7137 >;
7138 }
7139 extern "C" {
7140 #[link_name = "\u{1}_ZN16reaper_functions16TrackFX_GetCountE"]
7141 pub static mut TrackFX_GetCount: ::std::option::Option<
7142 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
7143 >;
7144 }
7145 extern "C" {
7146 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_GetEnabledE"]
7147 pub static mut TrackFX_GetEnabled: ::std::option::Option<
7148 unsafe extern "C" fn(
7149 track: *mut root::MediaTrack,
7150 fx: ::std::os::raw::c_int,
7151 ) -> bool,
7152 >;
7153 }
7154 extern "C" {
7155 #[link_name = "\u{1}_ZN16reaper_functions13TrackFX_GetEQE"]
7156 pub static mut TrackFX_GetEQ: ::std::option::Option<
7157 unsafe extern "C" fn(
7158 track: *mut root::MediaTrack,
7159 instantiate: bool,
7160 ) -> ::std::os::raw::c_int,
7161 >;
7162 }
7163 extern "C" {
7164 #[link_name = "\u{1}_ZN16reaper_functions24TrackFX_GetEQBandEnabledE"]
7165 pub static mut TrackFX_GetEQBandEnabled: ::std::option::Option<
7166 unsafe extern "C" fn(
7167 track: *mut root::MediaTrack,
7168 fxidx: ::std::os::raw::c_int,
7169 bandtype: ::std::os::raw::c_int,
7170 bandidx: ::std::os::raw::c_int,
7171 ) -> bool,
7172 >;
7173 }
7174 extern "C" {
7175 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_GetEQParamE"]
7176 pub static mut TrackFX_GetEQParam: ::std::option::Option<
7177 unsafe extern "C" fn(
7178 track: *mut root::MediaTrack,
7179 fxidx: ::std::os::raw::c_int,
7180 paramidx: ::std::os::raw::c_int,
7181 bandtypeOut: *mut ::std::os::raw::c_int,
7182 bandidxOut: *mut ::std::os::raw::c_int,
7183 paramtypeOut: *mut ::std::os::raw::c_int,
7184 normvalOut: *mut f64,
7185 ) -> bool,
7186 >;
7187 }
7188 extern "C" {
7189 #[link_name = "\u{1}_ZN16reaper_functions25TrackFX_GetFloatingWindowE"]
7190 pub static mut TrackFX_GetFloatingWindow: ::std::option::Option<
7191 unsafe extern "C" fn(
7192 track: *mut root::MediaTrack,
7193 index: ::std::os::raw::c_int,
7194 ) -> root::HWND,
7195 >;
7196 }
7197 extern "C" {
7198 #[link_name = "\u{1}_ZN16reaper_functions30TrackFX_GetFormattedParamValueE"]
7199 pub static mut TrackFX_GetFormattedParamValue: ::std::option::Option<
7200 unsafe extern "C" fn(
7201 track: *mut root::MediaTrack,
7202 fx: ::std::os::raw::c_int,
7203 param: ::std::os::raw::c_int,
7204 buf: *mut ::std::os::raw::c_char,
7205 buf_sz: ::std::os::raw::c_int,
7206 ) -> bool,
7207 >;
7208 }
7209 extern "C" {
7210 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_GetFXGUIDE"]
7211 pub static mut TrackFX_GetFXGUID: ::std::option::Option<
7212 unsafe extern "C" fn(
7213 track: *mut root::MediaTrack,
7214 fx: ::std::os::raw::c_int,
7215 ) -> *mut root::GUID,
7216 >;
7217 }
7218 extern "C" {
7219 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_GetFXNameE"]
7220 pub static mut TrackFX_GetFXName: ::std::option::Option<
7221 unsafe extern "C" fn(
7222 track: *mut root::MediaTrack,
7223 fx: ::std::os::raw::c_int,
7224 buf: *mut ::std::os::raw::c_char,
7225 buf_sz: ::std::os::raw::c_int,
7226 ) -> bool,
7227 >;
7228 }
7229 extern "C" {
7230 #[link_name = "\u{1}_ZN16reaper_functions21TrackFX_GetInstrumentE"]
7231 pub static mut TrackFX_GetInstrument: ::std::option::Option<
7232 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
7233 >;
7234 }
7235 extern "C" {
7236 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_GetIOSizeE"]
7237 pub static mut TrackFX_GetIOSize: ::std::option::Option<
7238 unsafe extern "C" fn(
7239 track: *mut root::MediaTrack,
7240 fx: ::std::os::raw::c_int,
7241 inputPinsOutOptional: *mut ::std::os::raw::c_int,
7242 outputPinsOutOptional: *mut ::std::os::raw::c_int,
7243 ) -> ::std::os::raw::c_int,
7244 >;
7245 }
7246 extern "C" {
7247 #[link_name = "\u{1}_ZN16reaper_functions26TrackFX_GetNamedConfigParmE"]
7248 pub static mut TrackFX_GetNamedConfigParm: ::std::option::Option<
7249 unsafe extern "C" fn(
7250 track: *mut root::MediaTrack,
7251 fx: ::std::os::raw::c_int,
7252 parmname: *const ::std::os::raw::c_char,
7253 bufOut: *mut ::std::os::raw::c_char,
7254 bufOut_sz: ::std::os::raw::c_int,
7255 ) -> bool,
7256 >;
7257 }
7258 extern "C" {
7259 #[link_name = "\u{1}_ZN16reaper_functions20TrackFX_GetNumParamsE"]
7260 pub static mut TrackFX_GetNumParams: ::std::option::Option<
7261 unsafe extern "C" fn(
7262 track: *mut root::MediaTrack,
7263 fx: ::std::os::raw::c_int,
7264 ) -> ::std::os::raw::c_int,
7265 >;
7266 }
7267 extern "C" {
7268 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_GetOfflineE"]
7269 pub static mut TrackFX_GetOffline: ::std::option::Option<
7270 unsafe extern "C" fn(
7271 track: *mut root::MediaTrack,
7272 fx: ::std::os::raw::c_int,
7273 ) -> bool,
7274 >;
7275 }
7276 extern "C" {
7277 #[link_name = "\u{1}_ZN16reaper_functions15TrackFX_GetOpenE"]
7278 pub static mut TrackFX_GetOpen: ::std::option::Option<
7279 unsafe extern "C" fn(
7280 track: *mut root::MediaTrack,
7281 fx: ::std::os::raw::c_int,
7282 ) -> bool,
7283 >;
7284 }
7285 extern "C" {
7286 #[link_name = "\u{1}_ZN16reaper_functions16TrackFX_GetParamE"]
7287 pub static mut TrackFX_GetParam: ::std::option::Option<
7288 unsafe extern "C" fn(
7289 track: *mut root::MediaTrack,
7290 fx: ::std::os::raw::c_int,
7291 param: ::std::os::raw::c_int,
7292 minvalOut: *mut f64,
7293 maxvalOut: *mut f64,
7294 ) -> f64,
7295 >;
7296 }
7297 extern "C" {
7298 #[link_name = "\u{1}_ZN16reaper_functions29TrackFX_GetParameterStepSizesE"]
7299 pub static mut TrackFX_GetParameterStepSizes: ::std::option::Option<
7300 unsafe extern "C" fn(
7301 track: *mut root::MediaTrack,
7302 fx: ::std::os::raw::c_int,
7303 param: ::std::os::raw::c_int,
7304 stepOut: *mut f64,
7305 smallstepOut: *mut f64,
7306 largestepOut: *mut f64,
7307 istoggleOut: *mut bool,
7308 ) -> bool,
7309 >;
7310 }
7311 extern "C" {
7312 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_GetParamExE"]
7313 pub static mut TrackFX_GetParamEx: ::std::option::Option<
7314 unsafe extern "C" fn(
7315 track: *mut root::MediaTrack,
7316 fx: ::std::os::raw::c_int,
7317 param: ::std::os::raw::c_int,
7318 minvalOut: *mut f64,
7319 maxvalOut: *mut f64,
7320 midvalOut: *mut f64,
7321 ) -> f64,
7322 >;
7323 }
7324 extern "C" {
7325 #[link_name = "\u{1}_ZN16reaper_functions20TrackFX_GetParamNameE"]
7326 pub static mut TrackFX_GetParamName: ::std::option::Option<
7327 unsafe extern "C" fn(
7328 track: *mut root::MediaTrack,
7329 fx: ::std::os::raw::c_int,
7330 param: ::std::os::raw::c_int,
7331 buf: *mut ::std::os::raw::c_char,
7332 buf_sz: ::std::os::raw::c_int,
7333 ) -> bool,
7334 >;
7335 }
7336 extern "C" {
7337 #[link_name = "\u{1}_ZN16reaper_functions26TrackFX_GetParamNormalizedE"]
7338 pub static mut TrackFX_GetParamNormalized: ::std::option::Option<
7339 unsafe extern "C" fn(
7340 track: *mut root::MediaTrack,
7341 fx: ::std::os::raw::c_int,
7342 param: ::std::os::raw::c_int,
7343 ) -> f64,
7344 >;
7345 }
7346 extern "C" {
7347 #[link_name = "\u{1}_ZN16reaper_functions22TrackFX_GetPinMappingsE"]
7348 pub static mut TrackFX_GetPinMappings: ::std::option::Option<
7349 unsafe extern "C" fn(
7350 tr: *mut root::MediaTrack,
7351 fx: ::std::os::raw::c_int,
7352 isoutput: ::std::os::raw::c_int,
7353 pin: ::std::os::raw::c_int,
7354 high32OutOptional: *mut ::std::os::raw::c_int,
7355 ) -> ::std::os::raw::c_int,
7356 >;
7357 }
7358 extern "C" {
7359 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_GetPresetE"]
7360 pub static mut TrackFX_GetPreset: ::std::option::Option<
7361 unsafe extern "C" fn(
7362 track: *mut root::MediaTrack,
7363 fx: ::std::os::raw::c_int,
7364 presetname: *mut ::std::os::raw::c_char,
7365 presetname_sz: ::std::os::raw::c_int,
7366 ) -> bool,
7367 >;
7368 }
7369 extern "C" {
7370 #[link_name = "\u{1}_ZN16reaper_functions22TrackFX_GetPresetIndexE"]
7371 pub static mut TrackFX_GetPresetIndex: ::std::option::Option<
7372 unsafe extern "C" fn(
7373 track: *mut root::MediaTrack,
7374 fx: ::std::os::raw::c_int,
7375 numberOfPresetsOut: *mut ::std::os::raw::c_int,
7376 ) -> ::std::os::raw::c_int,
7377 >;
7378 }
7379 extern "C" {
7380 #[link_name = "\u{1}_ZN16reaper_functions26TrackFX_GetRecChainVisibleE"]
7381 pub static mut TrackFX_GetRecChainVisible: ::std::option::Option<
7382 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
7383 >;
7384 }
7385 extern "C" {
7386 #[link_name = "\u{1}_ZN16reaper_functions19TrackFX_GetRecCountE"]
7387 pub static mut TrackFX_GetRecCount: ::std::option::Option<
7388 unsafe extern "C" fn(track: *mut root::MediaTrack) -> ::std::os::raw::c_int,
7389 >;
7390 }
7391 extern "C" {
7392 #[link_name = "\u{1}_ZN16reaper_functions29TrackFX_GetUserPresetFilenameE"]
7393 pub static mut TrackFX_GetUserPresetFilename: ::std::option::Option<
7394 unsafe extern "C" fn(
7395 track: *mut root::MediaTrack,
7396 fx: ::std::os::raw::c_int,
7397 fn_: *mut ::std::os::raw::c_char,
7398 fn_sz: ::std::os::raw::c_int,
7399 ),
7400 >;
7401 }
7402 extern "C" {
7403 #[link_name = "\u{1}_ZN16reaper_functions23TrackFX_NavigatePresetsE"]
7404 pub static mut TrackFX_NavigatePresets: ::std::option::Option<
7405 unsafe extern "C" fn(
7406 track: *mut root::MediaTrack,
7407 fx: ::std::os::raw::c_int,
7408 presetmove: ::std::os::raw::c_int,
7409 ) -> bool,
7410 >;
7411 }
7412 extern "C" {
7413 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_SetEnabledE"]
7414 pub static mut TrackFX_SetEnabled: ::std::option::Option<
7415 unsafe extern "C" fn(
7416 track: *mut root::MediaTrack,
7417 fx: ::std::os::raw::c_int,
7418 enabled: bool,
7419 ),
7420 >;
7421 }
7422 extern "C" {
7423 #[link_name = "\u{1}_ZN16reaper_functions24TrackFX_SetEQBandEnabledE"]
7424 pub static mut TrackFX_SetEQBandEnabled: ::std::option::Option<
7425 unsafe extern "C" fn(
7426 track: *mut root::MediaTrack,
7427 fxidx: ::std::os::raw::c_int,
7428 bandtype: ::std::os::raw::c_int,
7429 bandidx: ::std::os::raw::c_int,
7430 enable: bool,
7431 ) -> bool,
7432 >;
7433 }
7434 extern "C" {
7435 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_SetEQParamE"]
7436 pub static mut TrackFX_SetEQParam: ::std::option::Option<
7437 unsafe extern "C" fn(
7438 track: *mut root::MediaTrack,
7439 fxidx: ::std::os::raw::c_int,
7440 bandtype: ::std::os::raw::c_int,
7441 bandidx: ::std::os::raw::c_int,
7442 paramtype: ::std::os::raw::c_int,
7443 val: f64,
7444 isnorm: bool,
7445 ) -> bool,
7446 >;
7447 }
7448 extern "C" {
7449 #[link_name = "\u{1}_ZN16reaper_functions26TrackFX_SetNamedConfigParmE"]
7450 pub static mut TrackFX_SetNamedConfigParm: ::std::option::Option<
7451 unsafe extern "C" fn(
7452 track: *mut root::MediaTrack,
7453 fx: ::std::os::raw::c_int,
7454 parmname: *const ::std::os::raw::c_char,
7455 value: *const ::std::os::raw::c_char,
7456 ) -> bool,
7457 >;
7458 }
7459 extern "C" {
7460 #[link_name = "\u{1}_ZN16reaper_functions18TrackFX_SetOfflineE"]
7461 pub static mut TrackFX_SetOffline: ::std::option::Option<
7462 unsafe extern "C" fn(
7463 track: *mut root::MediaTrack,
7464 fx: ::std::os::raw::c_int,
7465 offline: bool,
7466 ),
7467 >;
7468 }
7469 extern "C" {
7470 #[link_name = "\u{1}_ZN16reaper_functions15TrackFX_SetOpenE"]
7471 pub static mut TrackFX_SetOpen: ::std::option::Option<
7472 unsafe extern "C" fn(
7473 track: *mut root::MediaTrack,
7474 fx: ::std::os::raw::c_int,
7475 open: bool,
7476 ),
7477 >;
7478 }
7479 extern "C" {
7480 #[link_name = "\u{1}_ZN16reaper_functions16TrackFX_SetParamE"]
7481 pub static mut TrackFX_SetParam: ::std::option::Option<
7482 unsafe extern "C" fn(
7483 track: *mut root::MediaTrack,
7484 fx: ::std::os::raw::c_int,
7485 param: ::std::os::raw::c_int,
7486 val: f64,
7487 ) -> bool,
7488 >;
7489 }
7490 extern "C" {
7491 #[link_name = "\u{1}_ZN16reaper_functions26TrackFX_SetParamNormalizedE"]
7492 pub static mut TrackFX_SetParamNormalized: ::std::option::Option<
7493 unsafe extern "C" fn(
7494 track: *mut root::MediaTrack,
7495 fx: ::std::os::raw::c_int,
7496 param: ::std::os::raw::c_int,
7497 value: f64,
7498 ) -> bool,
7499 >;
7500 }
7501 extern "C" {
7502 #[link_name = "\u{1}_ZN16reaper_functions22TrackFX_SetPinMappingsE"]
7503 pub static mut TrackFX_SetPinMappings: ::std::option::Option<
7504 unsafe extern "C" fn(
7505 tr: *mut root::MediaTrack,
7506 fx: ::std::os::raw::c_int,
7507 isoutput: ::std::os::raw::c_int,
7508 pin: ::std::os::raw::c_int,
7509 low32bits: ::std::os::raw::c_int,
7510 hi32bits: ::std::os::raw::c_int,
7511 ) -> bool,
7512 >;
7513 }
7514 extern "C" {
7515 #[link_name = "\u{1}_ZN16reaper_functions17TrackFX_SetPresetE"]
7516 pub static mut TrackFX_SetPreset: ::std::option::Option<
7517 unsafe extern "C" fn(
7518 track: *mut root::MediaTrack,
7519 fx: ::std::os::raw::c_int,
7520 presetname: *const ::std::os::raw::c_char,
7521 ) -> bool,
7522 >;
7523 }
7524 extern "C" {
7525 #[link_name = "\u{1}_ZN16reaper_functions24TrackFX_SetPresetByIndexE"]
7526 pub static mut TrackFX_SetPresetByIndex: ::std::option::Option<
7527 unsafe extern "C" fn(
7528 track: *mut root::MediaTrack,
7529 fx: ::std::os::raw::c_int,
7530 idx: ::std::os::raw::c_int,
7531 ) -> bool,
7532 >;
7533 }
7534 extern "C" {
7535 #[link_name = "\u{1}_ZN16reaper_functions12TrackFX_ShowE"]
7536 pub static mut TrackFX_Show: ::std::option::Option<
7537 unsafe extern "C" fn(
7538 track: *mut root::MediaTrack,
7539 index: ::std::os::raw::c_int,
7540 showFlag: ::std::os::raw::c_int,
7541 ),
7542 >;
7543 }
7544 extern "C" {
7545 #[link_name = "\u{1}_ZN16reaper_functions23TrackList_AdjustWindowsE"]
7546 pub static mut TrackList_AdjustWindows:
7547 ::std::option::Option<unsafe extern "C" fn(isMinor: bool)>;
7548 }
7549 extern "C" {
7550 #[link_name = "\u{1}_ZN16reaper_functions35TrackList_UpdateAllExternalSurfacesE"]
7551 pub static mut TrackList_UpdateAllExternalSurfaces:
7552 ::std::option::Option<unsafe extern "C" fn()>;
7553 }
7554 extern "C" {
7555 #[link_name = "\u{1}_ZN16reaper_functions15Undo_BeginBlockE"]
7556 pub static mut Undo_BeginBlock: ::std::option::Option<unsafe extern "C" fn()>;
7557 }
7558 extern "C" {
7559 #[link_name = "\u{1}_ZN16reaper_functions16Undo_BeginBlock2E"]
7560 pub static mut Undo_BeginBlock2:
7561 ::std::option::Option<unsafe extern "C" fn(proj: *mut root::ReaProject)>;
7562 }
7563 extern "C" {
7564 #[link_name = "\u{1}_ZN16reaper_functions13Undo_CanRedo2E"]
7565 pub static mut Undo_CanRedo2: ::std::option::Option<
7566 unsafe extern "C" fn(proj: *mut root::ReaProject) -> *const ::std::os::raw::c_char,
7567 >;
7568 }
7569 extern "C" {
7570 #[link_name = "\u{1}_ZN16reaper_functions13Undo_CanUndo2E"]
7571 pub static mut Undo_CanUndo2: ::std::option::Option<
7572 unsafe extern "C" fn(proj: *mut root::ReaProject) -> *const ::std::os::raw::c_char,
7573 >;
7574 }
7575 extern "C" {
7576 #[link_name = "\u{1}_ZN16reaper_functions12Undo_DoRedo2E"]
7577 pub static mut Undo_DoRedo2: ::std::option::Option<
7578 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
7579 >;
7580 }
7581 extern "C" {
7582 #[link_name = "\u{1}_ZN16reaper_functions12Undo_DoUndo2E"]
7583 pub static mut Undo_DoUndo2: ::std::option::Option<
7584 unsafe extern "C" fn(proj: *mut root::ReaProject) -> ::std::os::raw::c_int,
7585 >;
7586 }
7587 extern "C" {
7588 #[link_name = "\u{1}_ZN16reaper_functions13Undo_EndBlockE"]
7589 pub static mut Undo_EndBlock: ::std::option::Option<
7590 unsafe extern "C" fn(
7591 descchange: *const ::std::os::raw::c_char,
7592 extraflags: ::std::os::raw::c_int,
7593 ),
7594 >;
7595 }
7596 extern "C" {
7597 #[link_name = "\u{1}_ZN16reaper_functions14Undo_EndBlock2E"]
7598 pub static mut Undo_EndBlock2: ::std::option::Option<
7599 unsafe extern "C" fn(
7600 proj: *mut root::ReaProject,
7601 descchange: *const ::std::os::raw::c_char,
7602 extraflags: ::std::os::raw::c_int,
7603 ),
7604 >;
7605 }
7606 extern "C" {
7607 #[link_name = "\u{1}_ZN16reaper_functions18Undo_OnStateChangeE"]
7608 pub static mut Undo_OnStateChange: ::std::option::Option<
7609 unsafe extern "C" fn(descchange: *const ::std::os::raw::c_char),
7610 >;
7611 }
7612 extern "C" {
7613 #[link_name = "\u{1}_ZN16reaper_functions19Undo_OnStateChange2E"]
7614 pub static mut Undo_OnStateChange2: ::std::option::Option<
7615 unsafe extern "C" fn(
7616 proj: *mut root::ReaProject,
7617 descchange: *const ::std::os::raw::c_char,
7618 ),
7619 >;
7620 }
7621 extern "C" {
7622 #[link_name = "\u{1}_ZN16reaper_functions23Undo_OnStateChange_ItemE"]
7623 pub static mut Undo_OnStateChange_Item: ::std::option::Option<
7624 unsafe extern "C" fn(
7625 proj: *mut root::ReaProject,
7626 name: *const ::std::os::raw::c_char,
7627 item: *mut root::MediaItem,
7628 ),
7629 >;
7630 }
7631 extern "C" {
7632 #[link_name = "\u{1}_ZN16reaper_functions20Undo_OnStateChangeExE"]
7633 pub static mut Undo_OnStateChangeEx: ::std::option::Option<
7634 unsafe extern "C" fn(
7635 descchange: *const ::std::os::raw::c_char,
7636 whichStates: ::std::os::raw::c_int,
7637 trackparm: ::std::os::raw::c_int,
7638 ),
7639 >;
7640 }
7641 extern "C" {
7642 #[link_name = "\u{1}_ZN16reaper_functions21Undo_OnStateChangeEx2E"]
7643 pub static mut Undo_OnStateChangeEx2: ::std::option::Option<
7644 unsafe extern "C" fn(
7645 proj: *mut root::ReaProject,
7646 descchange: *const ::std::os::raw::c_char,
7647 whichStates: ::std::os::raw::c_int,
7648 trackparm: ::std::os::raw::c_int,
7649 ),
7650 >;
7651 }
7652 extern "C" {
7653 #[link_name = "\u{1}_ZN16reaper_functions20update_disk_countersE"]
7654 pub static mut update_disk_counters: ::std::option::Option<
7655 unsafe extern "C" fn(
7656 readamt: ::std::os::raw::c_int,
7657 writeamt: ::std::os::raw::c_int,
7658 ),
7659 >;
7660 }
7661 extern "C" {
7662 #[link_name = "\u{1}_ZN16reaper_functions13UpdateArrangeE"]
7663 pub static mut UpdateArrange: ::std::option::Option<unsafe extern "C" fn()>;
7664 }
7665 extern "C" {
7666 #[link_name = "\u{1}_ZN16reaper_functions19UpdateItemInProjectE"]
7667 pub static mut UpdateItemInProject:
7668 ::std::option::Option<unsafe extern "C" fn(item: *mut root::MediaItem)>;
7669 }
7670 extern "C" {
7671 #[link_name = "\u{1}_ZN16reaper_functions14UpdateTimelineE"]
7672 pub static mut UpdateTimeline: ::std::option::Option<unsafe extern "C" fn()>;
7673 }
7674 extern "C" {
7675 #[link_name = "\u{1}_ZN16reaper_functions11ValidatePtrE"]
7676 pub static mut ValidatePtr: ::std::option::Option<
7677 unsafe extern "C" fn(
7678 pointer: *mut ::std::os::raw::c_void,
7679 ctypename: *const ::std::os::raw::c_char,
7680 ) -> bool,
7681 >;
7682 }
7683 extern "C" {
7684 #[link_name = "\u{1}_ZN16reaper_functions12ValidatePtr2E"]
7685 pub static mut ValidatePtr2: ::std::option::Option<
7686 unsafe extern "C" fn(
7687 proj: *mut root::ReaProject,
7688 pointer: *mut ::std::os::raw::c_void,
7689 ctypename: *const ::std::os::raw::c_char,
7690 ) -> bool,
7691 >;
7692 }
7693 extern "C" {
7694 #[link_name = "\u{1}_ZN16reaper_functions9ViewPrefsE"]
7695 pub static mut ViewPrefs: ::std::option::Option<
7696 unsafe extern "C" fn(
7697 page: ::std::os::raw::c_int,
7698 pageByName: *const ::std::os::raw::c_char,
7699 ),
7700 >;
7701 }
7702 extern "C" {
7703 #[link_name = "\u{1}_ZN16reaper_functions27WDL_VirtualWnd_ScaledBlitBGE"]
7704 pub static mut WDL_VirtualWnd_ScaledBlitBG: ::std::option::Option<
7705 unsafe extern "C" fn(
7706 dest: *mut root::reaper_functions::LICE_IBitmap,
7707 src: *mut root::reaper_functions::WDL_VirtualWnd_BGCfg,
7708 destx: ::std::os::raw::c_int,
7709 desty: ::std::os::raw::c_int,
7710 destw: ::std::os::raw::c_int,
7711 desth: ::std::os::raw::c_int,
7712 clipx: ::std::os::raw::c_int,
7713 clipy: ::std::os::raw::c_int,
7714 clipw: ::std::os::raw::c_int,
7715 cliph: ::std::os::raw::c_int,
7716 alpha: f32,
7717 mode: ::std::os::raw::c_int,
7718 ) -> bool,
7719 >;
7720 }
7721 extern "C" {
7722 #[link_name = "\u{1}_ZN16reaper_functions12GetMidiInputE"]
7723 pub static mut GetMidiInput: ::std::option::Option<
7724 unsafe extern "C" fn(idx: ::std::os::raw::c_int) -> *mut root::midi_Input,
7725 >;
7726 }
7727 extern "C" {
7728 #[link_name = "\u{1}_ZN16reaper_functions13GetMidiOutputE"]
7729 pub static mut GetMidiOutput: ::std::option::Option<
7730 unsafe extern "C" fn(idx: ::std::os::raw::c_int) -> *mut root::midi_Output,
7731 >;
7732 }
7733 }
7734 pub mod reaper_control_surface {
7735 #[allow(unused_imports)]
7736 use self::super::super::root;
7737 extern "C" {
7738 pub fn add_control_surface(
7739 callback_target: *mut ::std::os::raw::c_void,
7740 ) -> *mut root::IReaperControlSurface;
7741 }
7742 extern "C" {
7743 pub fn remove_control_surface(surface: *mut root::IReaperControlSurface);
7744 }
7745 extern "C" {
7746 pub fn GetTypeString(
7747 callback_target: *mut ::std::os::raw::c_void,
7748 ) -> *const ::std::os::raw::c_char;
7749 }
7750 extern "C" {
7751 pub fn GetDescString(
7752 callback_target: *mut ::std::os::raw::c_void,
7753 ) -> *const ::std::os::raw::c_char;
7754 }
7755 extern "C" {
7756 pub fn GetConfigString(
7757 callback_target: *mut ::std::os::raw::c_void,
7758 ) -> *const ::std::os::raw::c_char;
7759 }
7760 extern "C" {
7761 pub fn CloseNoReset(callback_target: *mut ::std::os::raw::c_void);
7762 }
7763 extern "C" {
7764 pub fn Run(callback_target: *mut ::std::os::raw::c_void);
7765 }
7766 extern "C" {
7767 pub fn SetTrackListChange(callback_target: *mut ::std::os::raw::c_void);
7768 }
7769 extern "C" {
7770 pub fn SetSurfaceVolume(
7771 callback_target: *mut ::std::os::raw::c_void,
7772 trackid: *mut root::MediaTrack,
7773 volume: f64,
7774 );
7775 }
7776 extern "C" {
7777 pub fn SetSurfacePan(
7778 callback_target: *mut ::std::os::raw::c_void,
7779 trackid: *mut root::MediaTrack,
7780 pan: f64,
7781 );
7782 }
7783 extern "C" {
7784 pub fn SetSurfaceMute(
7785 callback_target: *mut ::std::os::raw::c_void,
7786 trackid: *mut root::MediaTrack,
7787 mute: bool,
7788 );
7789 }
7790 extern "C" {
7791 pub fn SetSurfaceSelected(
7792 callback_target: *mut ::std::os::raw::c_void,
7793 trackid: *mut root::MediaTrack,
7794 selected: bool,
7795 );
7796 }
7797 extern "C" {
7798 pub fn SetSurfaceSolo(
7799 callback_target: *mut ::std::os::raw::c_void,
7800 trackid: *mut root::MediaTrack,
7801 solo: bool,
7802 );
7803 }
7804 extern "C" {
7805 pub fn SetSurfaceRecArm(
7806 callback_target: *mut ::std::os::raw::c_void,
7807 trackid: *mut root::MediaTrack,
7808 recarm: bool,
7809 );
7810 }
7811 extern "C" {
7812 pub fn SetPlayState(
7813 callback_target: *mut ::std::os::raw::c_void,
7814 play: bool,
7815 pause: bool,
7816 rec: bool,
7817 );
7818 }
7819 extern "C" {
7820 pub fn SetRepeatState(callback_target: *mut ::std::os::raw::c_void, rep: bool);
7821 }
7822 extern "C" {
7823 pub fn SetTrackTitle(
7824 callback_target: *mut ::std::os::raw::c_void,
7825 trackid: *mut root::MediaTrack,
7826 title: *const ::std::os::raw::c_char,
7827 );
7828 }
7829 extern "C" {
7830 pub fn GetTouchState(
7831 callback_target: *mut ::std::os::raw::c_void,
7832 trackid: *mut root::MediaTrack,
7833 isPan: ::std::os::raw::c_int,
7834 ) -> bool;
7835 }
7836 extern "C" {
7837 pub fn SetAutoMode(
7838 callback_target: *mut ::std::os::raw::c_void,
7839 mode: ::std::os::raw::c_int,
7840 );
7841 }
7842 extern "C" {
7843 pub fn ResetCachedVolPanStates(callback_target: *mut ::std::os::raw::c_void);
7844 }
7845 extern "C" {
7846 pub fn OnTrackSelection(
7847 callback_target: *mut ::std::os::raw::c_void,
7848 trackid: *mut root::MediaTrack,
7849 );
7850 }
7851 extern "C" {
7852 pub fn IsKeyDown(
7853 callback_target: *mut ::std::os::raw::c_void,
7854 key: ::std::os::raw::c_int,
7855 ) -> bool;
7856 }
7857 extern "C" {
7858 pub fn Extended(
7859 callback_target: *mut ::std::os::raw::c_void,
7860 call: ::std::os::raw::c_int,
7861 parm1: *mut ::std::os::raw::c_void,
7862 parm2: *mut ::std::os::raw::c_void,
7863 parm3: *mut ::std::os::raw::c_void,
7864 ) -> ::std::os::raw::c_int;
7865 }
7866 }
7867 pub mod reaper_midi {
7868 #[allow(unused_imports)]
7869 use self::super::super::root;
7870 extern "C" {
7871 pub fn MIDI_eventlist_EnumItems(
7872 self_: *mut root::MIDI_eventlist,
7873 bpos: *mut ::std::os::raw::c_int,
7874 ) -> *mut root::MIDI_event_t;
7875 }
7876 extern "C" {
7877 pub fn midi_Input_GetReadBuf(self_: *mut root::midi_Input)
7878 -> *mut root::MIDI_eventlist;
7879 }
7880 }
7881}