(name: S)
| 601 | } |
| 602 | |
| 603 | pub fn add_optional_plugin_dependency<S: BnStrCompatible>(name: S) { |
| 604 | unsafe { |
| 605 | BNAddOptionalPluginDependency(name.into_bytes_with_nul().as_ref().as_ptr() as *const c_char) |
| 606 | }; |
| 607 | } |
| 608 | |
| 609 | // Provide ABI version automatically so that the core can verify binary compatibility |
| 610 | #[cfg(not(feature = "no_exports"))] |
no test coverage detected