Loading...
Searching...
No Matches
Go to the documentation of this file.
38#define CSFML_VERSION_MAJOR 3
39#define CSFML_VERSION_MINOR 0
40#define CSFML_VERSION_PATCH 0
47#define CSFML_EXTERN_C extern "C"
49#define CSFML_EXTERN_C extern
56#if defined(_WIN32) || defined(__WIN32__)
59#define CSFML_SYSTEM_WINDOWS
61#elif defined(linux) || defined(__linux)
64#define CSFML_SYSTEM_LINUX
66#elif defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)
69#define CSFML_SYSTEM_MACOS
71#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
74#define CSFML_SYSTEM_FREEBSD
79#error This operating system is not supported by SFML library
87#if !defined(CSFML_STATIC)
89#if defined(CSFML_SYSTEM_WINDOWS)
92#define CSFML_API_EXPORT extern "C" __declspec(dllexport)
93#define CSFML_API_IMPORT CSFML_EXTERN_C __declspec(dllimport)
98#pragma warning(disable : 4251)
104#define CSFML_API_EXPORT extern "C" __attribute__((__visibility__("default")))
105#define CSFML_API_IMPORT CSFML_EXTERN_C __attribute__((__visibility__("default")))
112#define CSFML_API_EXPORT extern "C"
113#define CSFML_API_IMPORT CSFML_EXTERN_C
128#if defined(CSFML_NO_DEPRECATED_WARNINGS)
131#define CSFML_DEPRECATED
133#elif defined(_MSC_VER)
138#define CSFML_DEPRECATED __declspec(deprecated)
140#elif defined(__GNUC__)
143#define CSFML_DEPRECATED __attribute__((deprecated))
149#pragma message("CSFML_DEPRECATED is not supported for your compiler, please contact the CSFML team")
150#define CSFML_DEPRECATED
uint32_t sfChar32
Define sfChar32.