libobs: Disable function attributes for SWIG

This commit is contained in:
Richard Stanway committed 2021-12-09 03:36:40 +01:00
1 parent 10446c1a0b
commit e7aa332d38
1 file changed
+4 -1
+4 -1
View File
@@ -85,7 +85,10 @@ EXPORT void blogva(int log_level, const char *format, va_list args);
PRINTFATTR(2, 3)
EXPORT void blog(int log_level, const char *format, ...);
PRINTFATTR(1, 2)
OBS_NORETURN EXPORT void bcrash(const char *format, ...);
#ifndef SWIG
OBS_NORETURN
#endif
EXPORT void bcrash(const char *format, ...);
#undef PRINTFATTR