mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
libobs/util: Add function deprecation defines
This commit is contained in:
1 parent
2c8edb8a8a
commit
4e55cf1125
1 file changed
+4
@@ -24,8 +24,12 @@
|
||||
#define UNUSED_PARAMETER(param) (void)param
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define DEPRECATED_START __declspec(deprecated)
|
||||
#define DEPRECATED_END
|
||||
#define FORCE_INLINE __forceinline
|
||||
#else
|
||||
#define DEPRECATED_START
|
||||
#define DEPRECATED_END __attribute__ ((deprecated))
|
||||
#define FORCE_INLINE inline __attribute__((always_inline))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user