libMVRgdtf
40bc00a
A library for GDTF and MVR
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
i
k
m
Typedefs
_
c
d
e
f
g
i
j
k
m
n
o
p
q
r
s
t
u
v
w
Enumerations
c
e
v
w
x
Enumerator
c
d
e
f
k
n
p
r
s
u
x
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
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
i
j
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
:
b
d
o
s
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
f
g
h
i
m
n
o
r
s
t
v
x
Variables
d
k
m
p
Typedefs
b
c
d
f
g
i
m
r
s
t
u
v
x
Enumerations
Enumerator
k
m
t
Macros
_
a
c
d
e
f
g
i
j
k
m
n
p
r
s
t
u
v
w
x
z
▼
libMVRgdtf
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
►
src
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
GSIntTypes.h
Go to the documentation of this file.
1
//
2
// Copyright Nemetschek Vectorworks, Inc.
3
// Use of this file is governed by the Nemetschek Vectorworks SDK License Agreement
4
// http://developer.vectorworks.net/index.php?title=Vectorworks_SDK_License
5
//
6
// This file abstracts the inclusion of inttypes.h, which is not included in Visual Studio.
7
// C99 format specifiers can be defined here for Windows. (e.g. for 64 bit arguments to printf())
8
//
9
10
#if GS_MAC
11
12
#define __STDC_FORMAT_MACROS
13
#include <inttypes.h>
14
15
// nonstandard types on mac
16
#define PRIpPTR "p"
// p is already prefixed with 0x
17
#define SCNpPTR "p"
18
19
#else
20
21
// Visual Studio 2013 will include C99 support
22
#if (_MSC_VER >= 1800)
23
24
#define __STDC_FORMAT_MACROS
25
26
#else
27
28
// this is a small subset of the specifiers, for now just add what we need
29
#define PRId32 "I32d"
30
#define PRIi32 "I32i"
31
#define PRIo32 "I32o"
32
#define PRIu32 "I32u"
33
#define PRIx32 "I32x"
34
#define PRIX32 "I32X"
35
36
#define PRId64 "I64d"
37
#define PRIi64 "I64i"
38
#define PRIo64 "I64o"
39
#define PRIu64 "I64u"
40
#define PRIx64 "I64x"
41
#define PRIX64 "I64X"
42
43
#define PRIdPTR "Id"
44
#define PRIiPTR "Ii"
45
#define PRIoPTR "Io"
46
#define PRIuPTR "Iu"
47
#define PRIxPTR "Ix"
48
#define PRIXPTR "IX"
49
50
#ifdef _WIN64
// [
51
# define SCNdPTR "I64d"
52
# define SCNiPTR "I64i"
53
# define SCNxPTR "I64x"
54
#else
// _WIN64 ][
55
# define SCNdPTR "ld"
56
# define SCNiPTR "li"
57
# define SCNxPTR "lx"
58
#endif
// _WIN64 ]
59
60
#endif
61
62
// nonstandard types on win
63
#define PRIpPTR "#p"
// p has no prefix. #p is 0X but no prefix if null. x doesn't pad and has identical problems to p
64
#define SCNpPTR SCNxPTR
65
66
#endif
src
GSIntTypes.h