docs
Loading...
Searching...
No Matches
Defines.h

Functions

const char * UltralightVersionString ()
 Full library version string (corresponds to ULTRALIGHT_VERSION).
uint32_t UltralightVersionMajor ()
uint32_t UltralightVersionMinor ()
uint32_t UltralightVersionPatch ()
const char * WebKitVersionString ()
 Full WebKit version string (corresponds to WEBKIT_VERSION).
uint32_t WebKitVersionMajor ()
uint32_t WebKitVersionMinor ()
uint32_t WebKitVersionTiny ()
uint32_t WebKitVersionMicro ()
uint32_t WebKitVersionNano ()

Macros

#define __STDC_LIMIT_MACROS
#define UL_ARCH_32_BIT
#define _thread_local   __thread
#define UL_COMPILER_GCC_LIKE
#define UL_ALWAYS_INLINE   inline
#define UL_UNLIKELY(x)
#define UL_LIKELY(x)
#define ULTRALIGHT_VERSION   "2.0.0"
#define ULTRALIGHT_VERSION_MAJOR   2
#define ULTRALIGHT_VERSION_MINOR   0
#define ULTRALIGHT_VERSION_PATCH   0
#define WEBKIT_VERSION   "615.1.18.100.1"
#define WEBKIT_VERSION_MAJOR   615
#define WEBKIT_VERSION_MINOR   1
#define WEBKIT_VERSION_TINY   18
#define WEBKIT_VERSION_MICRO   100
#define WEBKIT_VERSION_NANO   1
#define ULTRALIGHT_USER_AGENT_PLATFORM   "Windows NT 10.0; Win64; x64"
 The platform token of ULTRALIGHT_USER_AGENT (the parenthesized part), chosen for the build's target OS.
#define ULTRALIGHT_USER_AGENT

Function Documentation

◆ UltralightVersionMajor()

uint32_t UltralightVersionMajor ( )

◆ UltralightVersionMinor()

uint32_t UltralightVersionMinor ( )

◆ UltralightVersionPatch()

uint32_t UltralightVersionPatch ( )

◆ UltralightVersionString()

const char * UltralightVersionString ( )

Full library version string (corresponds to ULTRALIGHT_VERSION).

◆ WebKitVersionMajor()

uint32_t WebKitVersionMajor ( )

◆ WebKitVersionMicro()

uint32_t WebKitVersionMicro ( )

◆ WebKitVersionMinor()

uint32_t WebKitVersionMinor ( )

◆ WebKitVersionNano()

uint32_t WebKitVersionNano ( )

◆ WebKitVersionString()

const char * WebKitVersionString ( )

Full WebKit version string (corresponds to WEBKIT_VERSION).

◆ WebKitVersionTiny()

uint32_t WebKitVersionTiny ( )

Macro Definition Documentation

◆ __STDC_LIMIT_MACROS

#define __STDC_LIMIT_MACROS

◆ _thread_local

#define _thread_local   __thread

◆ UL_ALWAYS_INLINE

#define UL_ALWAYS_INLINE   inline

◆ UL_ARCH_32_BIT

#define UL_ARCH_32_BIT

◆ UL_COMPILER_GCC_LIKE

#define UL_COMPILER_GCC_LIKE

◆ UL_LIKELY

#define UL_LIKELY ( x)
Value:
__builtin_expect(!!(x), 1)

◆ UL_UNLIKELY

#define UL_UNLIKELY ( x)
Value:
__builtin_expect(!!(x), 0)

◆ ULTRALIGHT_USER_AGENT

#define ULTRALIGHT_USER_AGENT
Value:
"Mozilla/5.0 (" ULTRALIGHT_USER_AGENT_PLATFORM ") " \
"AppleWebKit/" WEBKIT_VERSION " (KHTML, like Gecko) " \
"Ultralight/" ULTRALIGHT_VERSION " Version/16.4.1 " \
"Safari/" WEBKIT_VERSION
#define ULTRALIGHT_VERSION
Definition Defines.h:104
#define ULTRALIGHT_USER_AGENT_PLATFORM
The platform token of ULTRALIGHT_USER_AGENT (the parenthesized part), chosen for the build's target O...
Definition Defines.h:129
#define WEBKIT_VERSION
Definition Defines.h:109

◆ ULTRALIGHT_USER_AGENT_PLATFORM

#define ULTRALIGHT_USER_AGENT_PLATFORM   "Windows NT 10.0; Win64; x64"

The platform token of ULTRALIGHT_USER_AGENT (the parenthesized part), chosen for the build's target OS.

Apple builds report Intel on every architecture, as Safari does.

◆ ULTRALIGHT_VERSION

#define ULTRALIGHT_VERSION   "2.0.0"

◆ ULTRALIGHT_VERSION_MAJOR

#define ULTRALIGHT_VERSION_MAJOR   2

◆ ULTRALIGHT_VERSION_MINOR

#define ULTRALIGHT_VERSION_MINOR   0

◆ ULTRALIGHT_VERSION_PATCH

#define ULTRALIGHT_VERSION_PATCH   0

◆ WEBKIT_VERSION

#define WEBKIT_VERSION   "615.1.18.100.1"

◆ WEBKIT_VERSION_MAJOR

#define WEBKIT_VERSION_MAJOR   615

◆ WEBKIT_VERSION_MICRO

#define WEBKIT_VERSION_MICRO   100

◆ WEBKIT_VERSION_MINOR

#define WEBKIT_VERSION_MINOR   1

◆ WEBKIT_VERSION_NANO

#define WEBKIT_VERSION_NANO   1

◆ WEBKIT_VERSION_TINY

#define WEBKIT_VERSION_TINY   18

Go to the source code of this file.