diff options
| author | Teddy Wing | 2018-08-28 07:16:46 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-08-28 07:16:46 +0200 | 
| commit | 98529aa0bc8d7188cb1ed577e06a576e4096319c (patch) | |
| tree | 5d942e4786b8be0cc0ff0b1719c0f800d3dcb3f6 /dome_key_map.h | |
| parent | d610aab64b2505b2ee7cd37be5b3d1b8097c3a64 (diff) | |
| download | dome-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 'dome_key_map.h')
| -rw-r--r-- | dome_key_map.h | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/dome_key_map.h b/dome_key_map.h index 647c6e5..6066da0 100644 --- a/dome_key_map.h +++ b/dome_key_map.h @@ -7,14 +7,14 @@  #include <stdbool.h>  typedef enum { -  Play, -  Up, -  Down, +  HeadphoneButton_Play, +  HeadphoneButton_Up, +  HeadphoneButton_Down,  } HeadphoneButton;  typedef enum { -  Map, -  Command, +  MapKind_Map, +  MapKind_Command,  } MapKind;  typedef struct { | 
