aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-27 16:58:49 +0200
committerTeddy Wing2018-10-27 16:58:49 +0200
commite8bf5effb7b7c37684f397fd5865b29431ecbcc0 (patch)
tree72af2635cf7cc3f06792ab35fd40ef9b0f392a4f /src/lib.rs
parent44d53f2ecef1645cee490dc75577b92e5c3cc86f (diff)
downloaddome-key-map-e8bf5effb7b7c37684f397fd5865b29431ecbcc0.tar.bz2
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.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
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};