1 |
use dlopen2::wrapper::WrapperApi;
|
2 |
|
3 |
use crate::vtable::{plugin::Plugin, runtime::RuntimeHandle, VTable};
|
4 |
|
5 |
#[derive(WrapperApi)]
|
6 |
pub struct GiteratedPluginAbi {
|
7 |
__load_runtime_vtable: unsafe extern "C" fn(vtable: &'static VTable<RuntimeHandle>),
|
8 |
__get_plugin_vtable: unsafe extern "C" fn() -> &'static VTable<Plugin>,
|
9 |
}
|
10 |
|