diff options
| author | Teddy Wing | 2018-10-27 16:58:49 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-27 16:58:49 +0200 |
| commit | e8bf5effb7b7c37684f397fd5865b29431ecbcc0 (patch) | |
| tree | 72af2635cf7cc3f06792ab35fd40ef9b0f392a4f | |
| parent | 44d53f2ecef1645cee490dc75577b92e5c3cc86f (diff) | |
| download | dome-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.
| -rw-r--r-- | src/ffi.rs (renamed from src/cocoa_bridge.rs) | 0 | ||||
| -rw-r--r-- | src/lib.rs | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cocoa_bridge.rs b/src/ffi.rs index f3175b7..f3175b7 100644 --- a/src/cocoa_bridge.rs +++ b/src/ffi.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}; |
