blob: 1206d1d7e426ba107435286e05bbf58c2df85046 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | /* Test */
/* Generated with cbindgen:0.6.2 */
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
typedef enum {
  Play,
  Up,
  Down,
} HeadphoneButton;
typedef struct MapKind MapKind;
typedef struct Option_CString Option_CString;
typedef struct {
  const char *action;
  const MapKind *kind;
} CKeyActionResult;
typedef struct {
  Option_CString action;
  MapKind kind;
} KeyActionResult;
const CKeyActionResult *c_run_key_action(const HeadphoneButton *trigger, size_t length);
 |