
#ifndef WEB_API_H
#define WEB_API_H

#ifdef LIBWEB_STATIC_DEFINE
#  define WEB_API
#  define LIBWEB_NO_EXPORT
#else
#  ifndef WEB_API
#    ifdef LibWeb_EXPORTS
        /* We are building this library */
#      define WEB_API __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define WEB_API __attribute__((visibility("default")))
#    endif
#  endif

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

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

#ifndef LIBWEB_DEPRECATED_EXPORT
#  define LIBWEB_DEPRECATED_EXPORT WEB_API LIBWEB_DEPRECATED
#endif

#ifndef LIBWEB_DEPRECATED_NO_EXPORT
#  define LIBWEB_DEPRECATED_NO_EXPORT LIBWEB_NO_EXPORT LIBWEB_DEPRECATED
#endif

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

#endif /* WEB_API_H */
