1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use crate::{host::*, plugin::*};
use std::ffi::CStr;
pub const CLAP_EXT_TAIL: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"clap.tail\0") };
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct clap_plugin_tail {
pub get: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> u32>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct clap_host_tail {
pub changed: Option<unsafe extern "C" fn(host: *const clap_host)>,
}