clap_sys/entry.rs
1use crate::version::*;
2
3use std::ffi::{c_char, c_void};
4
5#[repr(C)]
6#[derive(Debug, Copy, Clone)]
7pub struct clap_plugin_entry {
8 pub clap_version: clap_version,
9 pub init: Option<unsafe extern "C" fn(plugin_path: *const c_char) -> bool>,
10 pub deinit: Option<unsafe extern "C" fn()>,
11 pub get_factory: Option<unsafe extern "C" fn(factory_id: *const c_char) -> *const c_void>,
12}