From e8bf5effb7b7c37684f397fd5865b29431ecbcc0 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 27 Oct 2018 16:58:49 +0200 Subject: Rename `cocoa_bridge.rs` to `ffi.rs` When I first created the file, it was going to be used to call Cocoa methods using the 'cocoa' crate. It's since turned into a module that contains C functions called by Objective-C code. This new name makes more sense. We'll need to move one or two non-FFI functions outside of this module for better organisation. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 0e57cc0..e73c59b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,14 +32,14 @@ extern crate xdg; mod prefix_println; mod autopilot_internal; -mod cocoa_bridge; mod config; mod errors; +mod ffi; mod key_code; mod parser; mod trial; use parser::{Action, HeadphoneButton, MapAction, MapGroup, MapKind}; -pub use cocoa_bridge::*; +pub use ffi::*; pub use config::{Config, parse_args}; -- cgit v1.2.3