Skip to main content

BuildDeclarationFn

Type Alias BuildDeclarationFn 

Source
pub type BuildDeclarationFn = extern "C" fn() -> *const ExportedBuildDeclaration;
Expand description

Type signature for the function that says how a plugin was built.

It uses the C calling convention and returns a pointer to a #[repr(C)] record, so a library built by any compiler answers it the same way.