1
2
3
4
5
6
7
8
9
use super::{CallOutput, Dependency, ExtensionContext};

#[repr(C)]
pub struct Extension {
	pub name: &'static str,
	pub version: &'static str,
	pub dependencies: &'static [Dependency],
	pub init: &'static (dyn (Fn(ExtensionContext) -> CallOutput<()>) + Sync),
}