aboutsummaryrefslogtreecommitdiffstats
path: root/dome_key_map.h
diff options
context:
space:
mode:
authorTeddy Wing2018-08-29 12:12:14 +0200
committerTeddy Wing2018-08-29 12:12:14 +0200
commitb8b09aa2ef1e945aaf7283de63d1d1f57585373b (patch)
tree761befbd576cc9b302c21c63f6810360c0feca30 /dome_key_map.h
parent5d2685b89e891a8049fbbc635909b556c804eee7 (diff)
downloaddome-key-map-b8b09aa2ef1e945aaf7283de63d1d1f57585373b.tar.bz2
c_run_key_action(): Make `trigger` argument nullable
Actually, now that I think about it, the trigger argument shouldn't be nullable, since one should always be passed in. But this was really more of a test to make sure we could do the same for a new `mode` argument, which will also be a `Trigger`, but which might be null.
Diffstat (limited to 'dome_key_map.h')
-rw-r--r--dome_key_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dome_key_map.h b/dome_key_map.h
index f3c3f68..c6bf4c1 100644
--- a/dome_key_map.h
+++ b/dome_key_map.h
@@ -27,4 +27,4 @@ typedef struct {
size_t length;
} Trigger;
-const CKeyActionResult *c_run_key_action(Trigger trigger);
+const CKeyActionResult *c_run_key_action(const Trigger *trigger);