macro_rules! export_package_handler {
($handler:ty) => { ... };
}Expand description
Generate the eight ABI exports for a crate::PackageHandler.
ⓘ
holger_plugin_abi::export_package_handler!(holger_handler_skidbladnir::SkidbladnirHandler);The type must implement PackageHandler and be constructible with
Default::default(). Nothing else is required of the calling crate, and
nothing about the handler’s logic passes through here — this macro moves
bytes and calls the handler.