![]() |
Open Broadcaster Software
Free, open source software for live streaming and recording
|
Go to the source code of this file.
Macros | |
#define | HEDLEY_VERSION 10 |
#define | HEDLEY_STRINGIFY_EX(x) #x |
#define | HEDLEY_STRINGIFY(x) HEDLEY_STRINGIFY_EX(x) |
#define | HEDLEY_CONCAT_EX(a, b) a##b |
#define | HEDLEY_CONCAT(a, b) HEDLEY_CONCAT_EX(a, b) |
#define | HEDLEY_VERSION_ENCODE(major, minor, revision) (((major)*1000000) + ((minor)*1000) + (revision)) |
#define | HEDLEY_VERSION_DECODE_MAJOR(version) ((version) / 1000000) |
#define | HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000) |
#define | HEDLEY_VERSION_DECODE_REVISION(version) ((version) % 1000) |
#define | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_MSVC_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_INTEL_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_PGI_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_SUNPRO_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_EMSCRIPTEN_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_ARM_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_IBM_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_TI_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_CRAY_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_IAR_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_TINYC_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_DMC_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_COMPCERT_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_PELLES_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) (0) |
#define | HEDLEY_HAS_ATTRIBUTE(attribute) (0) |
#define | HEDLEY_GNUC_HAS_ATTRIBUTE(attribute, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_ATTRIBUTE(attribute, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_HAS_CPP_ATTRIBUTE(attribute) (0) |
#define | HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_HAS_BUILTIN(builtin) (0) |
#define | HEDLEY_GNUC_HAS_BUILTIN(builtin, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_BUILTIN(builtin, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_HAS_FEATURE(feature) (0) |
#define | HEDLEY_GNUC_HAS_FEATURE(feature, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_FEATURE(feature, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_HAS_EXTENSION(extension) (0) |
#define | HEDLEY_GNUC_HAS_EXTENSION(extension, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_EXTENSION(extension, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) (0) |
#define | HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_HAS_WARNING(warning) (0) |
#define | HEDLEY_GNUC_HAS_WARNING(warning, major, minor, patch) HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_GCC_HAS_WARNING(warning, major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_PRAGMA(value) |
#define | HEDLEY_DIAGNOSTIC_PUSH |
#define | HEDLEY_DIAGNOSTIC_POP |
#define | HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED |
#define | HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS |
#define | HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL |
#define | HEDLEY_DEPRECATED(since) |
#define | HEDLEY_DEPRECATED_FOR(since, replacement) |
#define | HEDLEY_UNAVAILABLE(available_since) |
#define | HEDLEY_WARN_UNUSED_RESULT |
#define | HEDLEY_SENTINEL(position) |
#define | HEDLEY_NO_RETURN |
#define | HEDLEY_UNREACHABLE() |
#define | HEDLEY_UNREACHABLE_RETURN(value) return value |
#define | HEDLEY_ASSUME(expr) ((void)(expr)) |
#define | HEDLEY_NON_NULL(...) |
#define | HEDLEY_PRINTF_FORMAT(string_idx, first_to_check) |
#define | HEDLEY_CONSTEXPR |
#define | HEDLEY_PREDICT(expr, expected, probability) (((void)(expected)), !!(expr)) |
#define | HEDLEY_PREDICT_TRUE(expr, probability) (!!(expr)) |
#define | HEDLEY_PREDICT_FALSE(expr, probability) (!!(expr)) |
#define | HEDLEY_LIKELY(expr) (!!(expr)) |
#define | HEDLEY_UNLIKELY(expr) (!!(expr)) |
#define | HEDLEY_UNPREDICTABLE(expr) HEDLEY_PREDICT(expr, 1, 0.5) |
#define | HEDLEY_MALLOC |
#define | HEDLEY_PURE |
#define | HEDLEY_CONST HEDLEY_PURE |
#define | HEDLEY_RESTRICT |
#define | HEDLEY_INLINE |
#define | HEDLEY_ALWAYS_INLINE HEDLEY_INLINE |
#define | HEDLEY_NEVER_INLINE |
#define | HEDLEY_PRIVATE |
#define | HEDLEY_PUBLIC |
#define | HEDLEY_IMPORT extern |
#define | HEDLEY_NO_THROW |
#define | HEDLEY_FALL_THROUGH |
#define | HEDLEY_RETURNS_NON_NULL |
#define | HEDLEY_ARRAY_PARAM(name) |
#define | HEDLEY_IS_CONSTANT(expr) (0) |
#define | HEDLEY_REQUIRE_CONSTEXPR(expr) (expr) |
#define | HEDLEY_BEGIN_C_DECLS |
#define | HEDLEY_END_C_DECLS |
#define | HEDLEY_C_DECL |
#define | HEDLEY_STATIC_ASSERT(expr, message) |
#define | HEDLEY_CONST_CAST(T, expr) ((T)(expr)) |
#define | HEDLEY_REINTERPRET_CAST(T, expr) (*((T *)&(expr))) |
#define | HEDLEY_STATIC_CAST(T, expr) ((T)(expr)) |
#define | HEDLEY_CPP_CAST(T, expr) (expr) |
#define | HEDLEY_MESSAGE(msg) |
#define | HEDLEY_WARNING(msg) HEDLEY_MESSAGE(msg) |
#define | HEDLEY_REQUIRE_MSG(expr, msg) |
#define | HEDLEY_REQUIRE(expr) HEDLEY_REQUIRE_MSG(expr, #expr) |
#define | HEDLEY_FLAGS_CAST(T, expr) HEDLEY_STATIC_CAST(T, expr) |
#define | HEDLEY_EMPTY_BASES |
#define | HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major, minor, patch) HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define | HEDLEY_CLANG_HAS_ATTRIBUTE(attribute) HEDLEY_HAS_ATTRIBUTE(attribute) |
#define | HEDLEY_CLANG_HAS_CPP_ATTRIBUTE(attribute) HEDLEY_HAS_CPP_ATTRIBUTE(attribute) |
#define | HEDLEY_CLANG_HAS_BUILTIN(builtin) HEDLEY_HAS_BUILTIN(builtin) |
#define | HEDLEY_CLANG_HAS_FEATURE(feature) HEDLEY_HAS_FEATURE(feature) |
#define | HEDLEY_CLANG_HAS_EXTENSION(extension) HEDLEY_HAS_EXTENSION(extension) |
#define | HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE(attribute) HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) |
#define | HEDLEY_CLANG_HAS_WARNING(warning) HEDLEY_HAS_WARNING(warning) |
#define HEDLEY_ALWAYS_INLINE HEDLEY_INLINE |
#define HEDLEY_ARM_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_ARRAY_PARAM | ( | name | ) |
#define HEDLEY_ASSUME | ( | expr | ) | ((void)(expr)) |
#define HEDLEY_BEGIN_C_DECLS |
#define HEDLEY_C_DECL |
#define HEDLEY_CLANG_HAS_ATTRIBUTE | ( | attribute | ) | HEDLEY_HAS_ATTRIBUTE(attribute) |
#define HEDLEY_CLANG_HAS_BUILTIN | ( | builtin | ) | HEDLEY_HAS_BUILTIN(builtin) |
#define HEDLEY_CLANG_HAS_CPP_ATTRIBUTE | ( | attribute | ) | HEDLEY_HAS_CPP_ATTRIBUTE(attribute) |
#define HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE | ( | attribute | ) | HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) |
#define HEDLEY_CLANG_HAS_EXTENSION | ( | extension | ) | HEDLEY_HAS_EXTENSION(extension) |
#define HEDLEY_CLANG_HAS_FEATURE | ( | feature | ) | HEDLEY_HAS_FEATURE(feature) |
#define HEDLEY_CLANG_HAS_WARNING | ( | warning | ) | HEDLEY_HAS_WARNING(warning) |
#define HEDLEY_COMPCERT_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_CONCAT | ( | a, | |
b | |||
) | HEDLEY_CONCAT_EX(a, b) |
#define HEDLEY_CONCAT_EX | ( | a, | |
b | |||
) | a##b |
#define HEDLEY_CONST HEDLEY_PURE |
#define HEDLEY_CONST_CAST | ( | T, | |
expr | |||
) | ((T)(expr)) |
#define HEDLEY_CONSTEXPR |
#define HEDLEY_CPP_CAST | ( | T, | |
expr | |||
) | (expr) |
#define HEDLEY_CRAY_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_DEPRECATED | ( | since | ) |
#define HEDLEY_DEPRECATED_FOR | ( | since, | |
replacement | |||
) |
#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL |
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED |
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS |
#define HEDLEY_DIAGNOSTIC_POP |
#define HEDLEY_DIAGNOSTIC_PUSH |
#define HEDLEY_DMC_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_EMPTY_BASES |
#define HEDLEY_EMSCRIPTEN_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_END_C_DECLS |
#define HEDLEY_FALL_THROUGH |
#define HEDLEY_FLAGS_CAST | ( | T, | |
expr | |||
) | HEDLEY_STATIC_CAST(T, expr) |
#define HEDLEY_GCC_HAS_ATTRIBUTE | ( | attribute, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_HAS_BUILTIN | ( | builtin, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_HAS_CPP_ATTRIBUTE | ( | attribute, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE | ( | attribute, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_HAS_EXTENSION | ( | extension, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_HAS_FEATURE | ( | feature, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_HAS_WARNING | ( | warning, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_NOT_CLANG_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | HEDLEY_GCC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GCC_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_GNUC_HAS_ATTRIBUTE | ( | attribute, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_HAS_BUILTIN | ( | builtin, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_HAS_CPP_ATTRIBUTE | ( | attribute, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE | ( | attribute, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_HAS_EXTENSION | ( | extension, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_HAS_FEATURE | ( | feature, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_HAS_WARNING | ( | warning, | |
major, | |||
minor, | |||
patch | |||
) | HEDLEY_GNUC_VERSION_CHECK(major, minor, patch) |
#define HEDLEY_GNUC_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_HAS_ATTRIBUTE | ( | attribute | ) | (0) |
#define HEDLEY_HAS_BUILTIN | ( | builtin | ) | (0) |
#define HEDLEY_HAS_CPP_ATTRIBUTE | ( | attribute | ) | (0) |
#define HEDLEY_HAS_DECLSPEC_ATTRIBUTE | ( | attribute | ) | (0) |
#define HEDLEY_HAS_EXTENSION | ( | extension | ) | (0) |
#define HEDLEY_HAS_FEATURE | ( | feature | ) | (0) |
#define HEDLEY_HAS_WARNING | ( | warning | ) | (0) |
#define HEDLEY_IAR_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_IBM_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_IMPORT extern |
#define HEDLEY_INLINE |
#define HEDLEY_INTEL_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_IS_CONSTANT | ( | expr | ) | (0) |
#define HEDLEY_LIKELY | ( | expr | ) | (!!(expr)) |
#define HEDLEY_MALLOC |
#define HEDLEY_MESSAGE | ( | msg | ) |
#define HEDLEY_MSVC_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_NEVER_INLINE |
#define HEDLEY_NO_RETURN |
#define HEDLEY_NO_THROW |
#define HEDLEY_NON_NULL | ( | ... | ) |
#define HEDLEY_PELLES_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_PGI_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_PRAGMA | ( | value | ) |
#define HEDLEY_PREDICT | ( | expr, | |
expected, | |||
probability | |||
) | (((void)(expected)), !!(expr)) |
#define HEDLEY_PREDICT_FALSE | ( | expr, | |
probability | |||
) | (!!(expr)) |
#define HEDLEY_PREDICT_TRUE | ( | expr, | |
probability | |||
) | (!!(expr)) |
#define HEDLEY_PRINTF_FORMAT | ( | string_idx, | |
first_to_check | |||
) |
#define HEDLEY_PRIVATE |
#define HEDLEY_PUBLIC |
#define HEDLEY_PURE |
#define HEDLEY_REINTERPRET_CAST | ( | T, | |
expr | |||
) | (*((T *)&(expr))) |
#define HEDLEY_REQUIRE | ( | expr | ) | HEDLEY_REQUIRE_MSG(expr, #expr) |
#define HEDLEY_REQUIRE_CONSTEXPR | ( | expr | ) | (expr) |
#define HEDLEY_REQUIRE_MSG | ( | expr, | |
msg | |||
) |
#define HEDLEY_RESTRICT |
#define HEDLEY_RETURNS_NON_NULL |
#define HEDLEY_SENTINEL | ( | position | ) |
#define HEDLEY_STATIC_ASSERT | ( | expr, | |
message | |||
) |
#define HEDLEY_STATIC_CAST | ( | T, | |
expr | |||
) | ((T)(expr)) |
#define HEDLEY_STRINGIFY | ( | x | ) | HEDLEY_STRINGIFY_EX(x) |
#define HEDLEY_STRINGIFY_EX | ( | x | ) | #x |
#define HEDLEY_SUNPRO_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_TI_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_TINYC_VERSION_CHECK | ( | major, | |
minor, | |||
patch | |||
) | (0) |
#define HEDLEY_UNAVAILABLE | ( | available_since | ) |
#define HEDLEY_UNLIKELY | ( | expr | ) | (!!(expr)) |
#define HEDLEY_UNPREDICTABLE | ( | expr | ) | HEDLEY_PREDICT(expr, 1, 0.5) |
#define HEDLEY_UNREACHABLE | ( | ) |
#define HEDLEY_UNREACHABLE_RETURN | ( | value | ) | return value |
#define HEDLEY_VERSION 10 |
#define HEDLEY_VERSION_DECODE_MAJOR | ( | version | ) | ((version) / 1000000) |
#define HEDLEY_VERSION_DECODE_MINOR | ( | version | ) | (((version) % 1000000) / 1000) |
#define HEDLEY_VERSION_DECODE_REVISION | ( | version | ) | ((version) % 1000) |
#define HEDLEY_VERSION_ENCODE | ( | major, | |
minor, | |||
revision | |||
) | (((major)*1000000) + ((minor)*1000) + (revision)) |
#define HEDLEY_WARN_UNUSED_RESULT |
#define HEDLEY_WARNING | ( | msg | ) | HEDLEY_MESSAGE(msg) |