clap-sys 0.5.0

Rust bindings for the CLAP audio plugin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{cstr, host::*};

use std::ffi::{c_char, CStr};

pub const CLAP_EXT_EVENT_REGISTRY: &CStr = cstr!("clap.event-registry");

#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct clap_host_event_registry {
    pub query: Option<
        unsafe extern "C" fn(
            host: *const clap_host,
            space_name: *const c_char,
            space_id: *mut u16,
        ) -> bool,
    >,
}