Ditto
4.8.0-rc.2
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
i
j
n
o
p
r
s
v
Enumerations
Related Symbols
Files
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
Loading...
Searching...
No Matches
include
Version.hpp
1
#ifndef _DITTO_VERSION_
2
#define _DITTO_VERSION_
3
4
#include "dittoffi.hpp"
5
6
#include <sstream>
7
#include <string>
8
10
#define DITTO_VERSION_MAJOR 4
11
13
#define DITTO_VERSION_MINOR 8
14
16
#define DITTO_VERSION_PATCH 0
17
19
#define DITTO_VERSION_PRERELEASE "rc,2"
20
28
#define DITTO_VERSION \
29
(DITTO_VERSION_MAJOR * 1000000 + DITTO_VERSION_MINOR * 1000 + \
30
DITTO_VERSION_PATCH)
31
37
std::string ditto_semver_version();
38
39
// clang-format off
40
#if defined _WIN32
41
#define PLATFORM PLATFORM_WINDOWS
42
#elif defined __ANDROID__
43
#define PLATFORM PLATFORM_ANDROID
44
#elif defined __linux__
45
#define PLATFORM PLATFORM_LINUX
46
#elif defined __APPLE__
47
#include "TargetConditionals.h"
48
#if TARGET_OS_OSX
49
#define PLATFORM PLATFORM_MAC
50
#elif TARGET_OS_IOS
51
#define PLATFORM PLATFORM_IOS
52
#endif
53
#else
54
#define PLATFORM PLATFORM_UNKNOWN
55
#endif
56
// clang-format on
57
58
#endif
Generated by
1.11.0