From 1902594da4d2d8cd652707bf3da7c0f1d0a3c43c Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 2 Jan 2018 14:19:38 -0800 Subject: [PATCH] libobs: Fix function to be static inline The function in the header was marked as just inline, which would cause processing problems for SWIG. --- libobs/obs-hotkey.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs-hotkey.h b/libobs/obs-hotkey.h index 9a616832f..0385d6550 100644 --- a/libobs/obs-hotkey.h +++ b/libobs/obs-hotkey.h @@ -285,7 +285,7 @@ EXPORT int obs_key_to_virtual_key(obs_key_t key); EXPORT const char *obs_key_to_name(obs_key_t key); EXPORT obs_key_t obs_key_from_name(const char *name); -inline bool obs_key_combination_is_empty(obs_key_combination_t combo) +static inline bool obs_key_combination_is_empty(obs_key_combination_t combo) { return !combo.modifiers && combo.key == OBS_KEY_NONE; }