JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Spinning

Amber - ⁨1⁩ year ago

parent: tbd commit: ⁨1788060

⁨giterated-runtime/giterated-abi/src/plugin.rs⁩ - ⁨326⁩ bytes
Raw
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