aboutsummaryrefslogtreecommitdiffstats
path: root/moder.c
diff options
context:
space:
mode:
authorTeddy Wing2018-09-22 01:40:35 +0200
committerTeddy Wing2018-09-22 01:40:35 +0200
commit457b2796e6fc268074b87d36c9f9a2c25eb4b5af (patch)
tree24b97e3ce4aeb926d1c0467c059d5751e80e244e /moder.c
parentce1eca32e2249a72692c6eb01052361d98af29c3 (diff)
downloaddome-key-map-457b2796e6fc268074b87d36c9f9a2c25eb4b5af.tar.bz2
Add a `State` struct
The plan is to use this as an opaque pointer to be passed between the Objective-C code and Rust code. It will contain the current mode (if in a mode) and the parsed `MapGroup` definitions. For now just some code inspired by the Rust FFI Omnibus (http://jakegoulding.com/rust-ffi-omnibus/objects/) to create and free a `State`.
Diffstat (limited to 'moder.c')
0 files changed, 0 insertions, 0 deletions