diff options
| author | Teddy Wing | 2018-10-21 09:56:05 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-21 09:56:05 +0200 |
| commit | 923de9b3dfeebdba72cb70151b2b5a450997b7e1 (patch) | |
| tree | 0499bd01adaa47249665cc158378eb76f388f18f /src | |
| parent | e6b01e84d469fe7d17193e0a03b559a38cc175ee (diff) | |
| download | dome-key-map-923de9b3dfeebdba72cb70151b2b5a450997b7e1.tar.bz2 | |
Rename `config_read_from_file` to `config_get`
For the same reason that we renamed the Rust version of this function to
`get_config`, rename this function also. (Since we're not necessarily
getting the config from a file.)
Diffstat (limited to 'src')
| -rw-r--r-- | src/cocoa_bridge.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cocoa_bridge.rs b/src/cocoa_bridge.rs index 1dbd187..7b707de 100644 --- a/src/cocoa_bridge.rs +++ b/src/cocoa_bridge.rs @@ -332,7 +332,7 @@ pub extern "C" fn c_parse_args( } #[no_mangle] -pub extern "C" fn config_read_from_file() -> *mut Config { +pub extern "C" fn config_get() -> *mut Config { match config::get_config() { Ok(config) => Box::into_raw(Box::new(config)), Err(e) => { |
