Loading...
Searching...
No Matches
7#ifndef PODOFO_BASE_DEFS_H
8#define PODOFO_BASE_DEFS_H
41#if defined(PODOFO_SHARED) && defined(PODOFO_STATIC)
42 #error "Both PODOFO_SHARED and PODOFO_STATIC defined!"
57 #define PODOFO_EXPORT __declspec(dllexport)
58 #define PODOFO_IMPORT __declspec(dllimport)
65 #define PODOFO_EXPORT __attribute__ ((visibility("default")))
66 #define PODOFO_IMPORT __attribute__ ((visibility("default")))
69#if defined(PODOFO_BUILD)
70#define PODOFO_API PODOFO_EXPORT
72#define PODOFO_API PODOFO_IMPORT
81 #define PODOFO_EXCEPTION_API(api) api
83 #define PODOFO_EXCEPTION_API(api) PODOFO_API
89 #define PODOFO_HAS_GCC_ATTRIBUTE_DEPRECATED 1
90#elif defined(__has_attribute)
91 #if __has_attribute(__deprecated__)
92 #define PODOFO_HAS_GCC_ATTRIBUTE_DEPRECATED 1
96#ifdef PODOFO_HAS_GCC_ATTRIBUTE_DEPRECATED
98 #define PODOFO_DEPRECATED __attribute__((__deprecated__))
100 #define PODOFO_DEPRECATED
104#define PODOFO_PRIVATE_FRIEND(identifier)
107#include "basecompat.h"
110#include "podofo_config.h"