
#ifndef DEVTOOLS_API_H
#define DEVTOOLS_API_H

#ifdef LIBDEVTOOLS_STATIC_DEFINE
#  define DEVTOOLS_API
#  define LIBDEVTOOLS_NO_EXPORT
#else
#  ifndef DEVTOOLS_API
#    ifdef LibDevTools_EXPORTS
        /* We are building this library */
#      define DEVTOOLS_API __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define DEVTOOLS_API __attribute__((visibility("default")))
#    endif
#  endif

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

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

#ifndef LIBDEVTOOLS_DEPRECATED_EXPORT
#  define LIBDEVTOOLS_DEPRECATED_EXPORT DEVTOOLS_API LIBDEVTOOLS_DEPRECATED
#endif

#ifndef LIBDEVTOOLS_DEPRECATED_NO_EXPORT
#  define LIBDEVTOOLS_DEPRECATED_NO_EXPORT LIBDEVTOOLS_NO_EXPORT LIBDEVTOOLS_DEPRECATED
#endif

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

#endif /* DEVTOOLS_API_H */
