
#ifndef TEST_API_H
#define TEST_API_H

#ifdef LIBTEST_STATIC_DEFINE
#  define TEST_API
#  define LIBTEST_NO_EXPORT
#else
#  ifndef TEST_API
#    ifdef LibTest_EXPORTS
        /* We are building this library */
#      define TEST_API __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define TEST_API __attribute__((visibility("default")))
#    endif
#  endif

#  ifndef LIBTEST_NO_EXPORT
#    define LIBTEST_NO_EXPORT __attribute__((visibility("hidden")))
#  endif
#endif

#ifndef LIBTEST_DEPRECATED
#  define LIBTEST_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef LIBTEST_DEPRECATED_EXPORT
#  define LIBTEST_DEPRECATED_EXPORT TEST_API LIBTEST_DEPRECATED
#endif

#ifndef LIBTEST_DEPRECATED_NO_EXPORT
#  define LIBTEST_DEPRECATED_NO_EXPORT LIBTEST_NO_EXPORT LIBTEST_DEPRECATED
#endif

/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef LIBTEST_NO_DEPRECATED
#    define LIBTEST_NO_DEPRECATED
#  endif
#endif

#endif /* TEST_API_H */
