aboutsummaryrefslogtreecommitdiffstats
path: root/dome_key_map.h
diff options
context:
space:
mode:
authorTeddy Wing2018-08-25 04:58:53 +0200
committerTeddy Wing2018-08-25 05:03:46 +0200
commitcdac4ed1ce81b76e6684f778fd07c8ebdacce556 (patch)
tree3d40fd23cf36774b0368db32d48959da677b5f83 /dome_key_map.h
parent4b64b69e900e3eae5c410055c4c03a59c45419c2 (diff)
downloaddome-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