diff options
| author | Teddy Wing | 2018-08-25 04:40:04 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-08-25 04:40:04 +0200 | 
| commit | 4b64b69e900e3eae5c410055c4c03a59c45419c2 (patch) | |
| tree | bb23dfbc43c4c9ae047f8c3d4d750f04372f6d2b /src/parser.rs | |
| parent | a5c41687a3a294bdd8b000d416ab1787a5c40d2c (diff) | |
| download | dome-key-map-4b64b69e900e3eae5c410055c4c03a59c45419c2.tar.bz2 | |
run_key_action(): Include action string for `MapKind::Map`
Couldn't figure out how to make my `Action` string a char slice. At
first I changed it to a `CStr` reference, but ran into lifetime errors
when trying to use a reference. Instead ended up making it a `CString`.
Still need to handle errors. My plan is to pass back an error string in
the result struct.
Remains to be seen whether this actually works when calling it over FFI,
but we have the beginnings of something.
Diffstat (limited to 'src/parser.rs')
0 files changed, 0 insertions, 0 deletions
