From 534c3bc85860d2c14a490cf68ea1174cb9edbfde Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 10 Feb 2021 22:04:29 +0000 Subject: Better type support --- rust/src/lib.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'rust/src/lib.rs') diff --git a/rust/src/lib.rs b/rust/src/lib.rs index c1d30f47..471c04ce 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -237,4 +237,13 @@ pub fn core_abi_minimum_version() -> u32 { #[cfg(any(windows, not(feature = "headless")))] #[no_mangle] #[allow(non_snake_case)] -pub extern "C" fn CorePluginABIVersion() -> u32 { plugin_abi_version() } +pub extern "C" fn CorePluginABIVersion() -> u32 { + plugin_abi_version() +} + +// TODO : We need to get this from uitypes.h +#[cfg(any(windows, not(feature = "headless")))] +#[no_mangle] +pub extern "C" fn UIPluginABIVersion() -> u32 { + plugin_abi_version() +} -- cgit v1.3.1