diff options
| author | Teddy Wing | 2018-08-25 04:58:53 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-08-25 05:03:46 +0200 |
| commit | cdac4ed1ce81b76e6684f778fd07c8ebdacce556 (patch) | |
| tree | 3d40fd23cf36774b0368db32d48959da677b5f83 /dome_key_map.h | |
| parent | 4b64b69e900e3eae5c410055c4c03a59c45419c2 (diff) | |
| download | dome-key-map-cdac4ed1ce81b76e6684f778fd07c8ebdacce556.tar.bz2 | |
Configure for importing from C/FFI
* Add `#[repr(C)]` on `HeadphoneButton` to hopefully be able to use it
outside Rust
* Add `#[no_mangle]` to `run_key_action()`
* Export `run_key_action()` as a public function
* Build the crate as a static library
(But holy cow, a 19 MB library file?)
Diffstat (limited to 'dome_key_map.h')
0 files changed, 0 insertions, 0 deletions
