11#ifndef __STDC_LIMIT_MACROS
12#define __STDC_LIMIT_MACROS
28# error This project needs at least Visual Studio 2013 to build
30#elif __cplusplus <= 199711L
31# error This project can only be compiled with a compiler that supports C++11
34#if INTPTR_MAX == INT32_MAX
35# define UL_ARCH_32_BIT
36#elif INTPTR_MAX == INT64_MAX
37# define UL_ARCH_64_BIT
39# error "Unknown CPU architecture: environment not 32 or 64-bit."
42#if defined(__aarch64__)
44# if defined(__APPLE__)
45# define UL_ARCH_ARM64_APPLE_SILICON
49#if defined(__WIN32__) || defined(_WIN32)
50# define _thread_local __declspec(thread)
51# ifndef _NATIVE_WCHAR_T_DEFINED
52# define DISABLE_NATIVE_WCHAR_T
55# define _thread_local __thread
58#ifndef UL_COMPILER_GCC_LIKE
59# define UL_COMPILER_GCC_LIKE (defined(__clang__) || defined(__GNUC__) || defined(__GNUG__))
62#ifndef UL_ALWAYS_INLINE
63#if defined(UL_COMPILER_GCC_LIKE) && defined(NDEBUG)
64# define UL_ALWAYS_INLINE inline __attribute__((__always_inline__))
65# elif defined(_MSC_VER) && defined(NDEBUG)
66# define UL_ALWAYS_INLINE __forceinline
68# define UL_ALWAYS_INLINE inline
73# if defined(UL_COMPILER_GCC_LIKE)
74# define UL_UNLIKELY(x) __builtin_expect(!!(x), 0)
76# define UL_UNLIKELY(x) (x)
82#define ULTRALIGHT_VERSION "1.4.0"
83#define ULTRALIGHT_VERSION_MAJOR 1
84#define ULTRALIGHT_VERSION_MINOR 4
85#define ULTRALIGHT_VERSION_PATCH 0
87#define WEBKIT_VERSION "615.1.18.100.1"
88#define WEBKIT_VERSION_MAJOR 615
89#define WEBKIT_VERSION_MINOR 1
90#define WEBKIT_VERSION_TINY 18
91#define WEBKIT_VERSION_MICRO 100
92#define WEBKIT_VERSION_NANO 1
#define UExport
Definition Exports.h:25
uint32_t UltralightVersionMinor()
uint32_t UltralightVersionPatch()
uint32_t WebKitVersionMinor()
uint32_t WebKitVersionNano()
uint32_t WebKitVersionMicro()
uint32_t WebKitVersionMajor()
uint32_t UltralightVersionMajor()
const char * WebKitVersionString()
Full WebKit version string (corresponds to WEBKIT_VERSION)
uint32_t WebKitVersionTiny()
const char * UltralightVersionString()
Full library version string (corresponds to ULTRALIGHT_VERSION)