#[export]Expand description
Emits the plugin lifecycle symbols:
cfmp_interface_version→ returns0(current plugin contract).cfmp_initialize/cfmp_finalize→ no-op success.cfmp_query_interfaces→ packedname\0version\0byte stream enumerating the interfaces registered by#[plugin_interface]in this crate.cfmp_metadata→ present only when#[plugin_metadata]is used on the same item.
Place it on any item in the crate root of your plugin’s cdylib:
ⓘ
#[export]
struct Plugin;