diff options
| author | KyleMiles <krm504@nyu.edu> | 2021-02-10 22:04:29 +0000 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2021-03-18 01:50:19 +0000 |
| commit | 534c3bc85860d2c14a490cf68ea1174cb9edbfde (patch) | |
| tree | f7b21045d0f2ab855c49da8b38440977f971a72e /rust/src/lib.rs | |
| parent | 1515df8e71412787470b27d04ed9b2944fca0fdc (diff) | |
Better type support
Diffstat (limited to 'rust/src/lib.rs')
| -rw-r--r-- | rust/src/lib.rs | 11 |
1 files changed, 10 insertions, 1 deletions
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() +} |
