
#ifndef WEBVIEW_API_H
#define WEBVIEW_API_H

#ifdef LIBWEBVIEW_STATIC_DEFINE
#  define WEBVIEW_API
#  define LIBWEBVIEW_NO_EXPORT
#else
#  ifndef WEBVIEW_API
#    ifdef LibWebView_EXPORTS
        /* We are building this library */
#      define WEBVIEW_API __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define WEBVIEW_API __attribute__((visibility("default")))
#    endif
#  endif

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

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

#ifndef LIBWEBVIEW_DEPRECATED_EXPORT
#  define LIBWEBVIEW_DEPRECATED_EXPORT WEBVIEW_API LIBWEBVIEW_DEPRECATED
#endif

#ifndef LIBWEBVIEW_DEPRECATED_NO_EXPORT
#  define LIBWEBVIEW_DEPRECATED_NO_EXPORT LIBWEBVIEW_NO_EXPORT LIBWEBVIEW_DEPRECATED
#endif

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

#endif /* WEBVIEW_API_H */
