aboutsummaryrefslogtreecommitdiffstats
path: root/includer.c
diff options
context:
space:
mode:
authorTeddy Wing2018-08-28 07:16:46 +0200
committerTeddy Wing2018-08-28 07:16:46 +0200
commit98529aa0bc8d7188cb1ed577e06a576e4096319c (patch)
tree5d942e4786b8be0cc0ff0b1719c0f800d3dcb3f6 /includer.c
parentd610aab64b2505b2ee7cd37be5b3d1b8097c3a64 (diff)
downloaddome-key-map-98529aa0bc8d7188cb1ed577e06a576e4096319c.tar.bz2
cbindgen.toml: Prefix enum variants with enum name
For better namespacing and local context information. Thank goodness 'cbindgen' supports this.
Diffstat (limited to 'includer.c')
-rw-r--r--includer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/includer.c b/includer.c
index 9a02d22..92a48cd 100644
--- a/includer.c
+++ b/includer.c
@@ -4,7 +4,7 @@
#define SIZE 2
int main() {
- HeadphoneButton trigger[SIZE] = {Play, Down};
+ HeadphoneButton trigger[SIZE] = {HeadphoneButton_Play, HeadphoneButton_Down};
const CKeyActionResult *result = c_run_key_action(trigger, SIZE);
printf("%s", result->action);