diff options
Diffstat (limited to 'src/cocoa_bridge.rs')
| -rw-r--r-- | src/cocoa_bridge.rs | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/src/cocoa_bridge.rs b/src/cocoa_bridge.rs index cd1dafa..4b1bd0b 100644 --- a/src/cocoa_bridge.rs +++ b/src/cocoa_bridge.rs @@ -15,6 +15,7 @@ use xdg;  use {Action, HeadphoneButton, MapAction, MapGroup, MapKind};  use config::{self, Config}; +use trial;  #[repr(C)]  struct renameMeMapGroup { @@ -352,6 +353,11 @@ pub extern "C" fn config_free(ptr: *mut Config) {      unsafe { CString::from_raw(config.args.license); }  } +#[no_mangle] +pub extern "C" fn do_trial() { +    trial::do_trial(); +} +  mod tests {      use super::*; | 
