diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-01-24 19:29:42 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-01-24 19:29:42 +0300 |
commit | d444a5d7405016a5094e26050cfb453bcd6f882a (patch) | |
tree | 64e64cdc97dc128b5cf4a7aebeec32ef5bf47e63 /evdev.h | |
parent | b45726451da90bba61d75f817982d2abdfbb0542 (diff) | |
download | applause2-d444a5d7405016a5094e26050cfb453bcd6f882a.tar.gz |
evdev: access struct dirent via helper function applause_dirent_name() instead directly from Lua
* the structure is highly platform-dependant and might even differ between 32-bit and 64-bit systems
* in particular this fixes EvdevStream on FreeBSD
Diffstat (limited to 'evdev.h')
-rw-r--r-- | evdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ typedef struct applause_evdev_sample { typedef struct applause_evdev applause_evdev; +const char *applause_dirent_name(const struct dirent *entry); char *applause_evdev_getname(const char *node); applause_evdev *applause_evdev_new(const char *node, bool grab); void applause_evdev_pull(applause_evdev *evdev, applause_evdev_sample *sample); |