Loading...
Searching...
No Matches
Go to the documentation of this file.
1502#ifndef _PDFDOC_DEF_H_
1503#define _PDFDOC_DEF_H_
1510#ifdef WXPDFDOC_HAVE_VISIBILITY
1511 #define WXPDFDOC_EXPORT __attribute__ ((visibility("default")))
1513 #define WXPDFDOC_EXPORT WXEXPORT
1516#if defined(WXMAKINGDLL_PDFDOC)
1517 #define WXDLLIMPEXP_PDFDOC WXPDFDOC_EXPORT
1518 #define WXDLLIMPEXP_DATA_PDFDOC(type) WXPDFDOC_EXPORT type
1519#elif defined(WXUSINGDLL_PDFDOC)
1520 #define WXDLLIMPEXP_PDFDOC WXIMPORT
1521 #define WXDLLIMPEXP_DATA_PDFDOC(type) WXIMPORT type
1523 #define WXDLLIMPEXP_PDFDOC
1524 #define WXDLLIMPEXP_DATA_PDFDOC(type) type
1530#ifndef WXPDFDOC_INHERIT_WXOBJECT
1531#define WXPDFDOC_INHERIT_WXOBJECT 0
1540#if defined(HAVE_VISIBILITY) || (defined(__WINDOWS__) && defined(__GNUC__))
1541 #define WXDLLIMPEXP_FWD_PDFDOC
1543 #define WXDLLIMPEXP_FWD_PDFDOC WXDLLIMPEXP_PDFDOC
1547#ifndef wxFALLTHROUGH
1548 #if (defined(__cplusplus) && __cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
1549 #define wxFALLTHROUGH [[fallthrough]]
1550 #elif defined(__GNUC__) && (__GNUC__ >= 7)
1551 #define wxFALLTHROUGH __attribute__ ((fallthrough))
1552 #elif defined(__clang__) && __has_attribute(fallthrough)
1553 #define wxFALLTHROUGH __attribute__ ((fallthrough))
1555 #define wxFALLTHROUGH ((void)0)