export_input_plugin!() { /* proc-macro */ }Expand description
Generates the two loader-visible symbols for one SCS input plugin.
The constructor expression is evaluated once for each accepted input
initialization attempt and must produce a value implementing
scs_sdk_plugin::InputPlugin. The expansion owns an independent input
runtime and emits exactly scs_input_init and scs_input_shutdown.
This macro may coexist with export_plugin in one dynamic library because
the input and telemetry runtimes and exported symbol names are distinct.
Application source remains safe; raw pointers and ABI declarations are
generated only at the audited framework boundary.