aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/lua.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-12-04 01:10:12 +0100
committercbdev <cb@cbcdn.com>2019-12-04 01:10:12 +0100
commitbd9ab579eba35db70ad1ce17d556aeda5866156d (patch)
tree8bac76338e63d0227bac20ad231f5fefe5f5fd62 /backends/lua.h
parentdcdf802e10b8199bf04139b0e63912bda2b681ce (diff)
downloadmidimonster-bd9ab579eba35db70ad1ce17d556aeda5866156d.tar.gz
midimonster-bd9ab579eba35db70ad1ce17d556aeda5866156d.tar.bz2
midimonster-bd9ab579eba35db70ad1ce17d556aeda5866156d.zip
Hide lua_interval if timerfd callback mechanism is used
Diffstat (limited to 'backends/lua.h')
-rw-r--r--backends/lua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/lua.h b/backends/lua.h
index 7aad891..f2583a8 100644
--- a/backends/lua.h
+++ b/backends/lua.h
@@ -18,7 +18,9 @@ static int lua_set(instance* inst, size_t num, channel** c, channel_value* v);
static int lua_handle(size_t num, managed_fd* fds);
static int lua_start();
static int lua_shutdown();
+#ifndef MMBACKEND_LUA_TIMERFD
static uint32_t lua_interval();
+#endif
typedef struct /*_lua_instance_data*/ {
size_t channels;