libobs: Disable function attributes for SWIG

This commit is contained in:
Richard Stanway
2021-12-09 03:01:55 +01:00
parent 10446c1a0b
commit e7aa332d38

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