use dlopen2::wrapper::WrapperApi; use crate::vtable::{ plugin::{Plugin, PluginVTable}, runtime::{RuntimeHandle, RuntimeVTable}, VTable, }; #[derive(WrapperApi)] pub struct GiteratedPluginAbi { __load_runtime_vtable: unsafe extern "C" fn(vtable: &'static VTable), __get_plugin_vtable: unsafe extern "C" fn() -> &'static VTable, }