소스 검색

libobs: Fix function to be static inline

The function in the header was marked as just inline, which would cause
processing problems for SWIG.
jp9000 7 년 전
부모
커밋
1902594da4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libobs/obs-hotkey.h

+ 1 - 1
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;
 }