NW4F Sys
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
#
ifndef
NW_TYPES_H_
2
#
define
NW_TYPES_H_
3
4
#
include
<
cafe
/
os
.
h
>
5
6
#
include
<
cstddef
>
7
8
#
define
NW_PLATFORM_CAFE
9
10
#
if
!
defined
(
NW_DEBUG
)
&&
!
defined
(
NW_DEVELOP
)
&&
!
defined
(
NW_RELEASE
)
11
#
error
"Build target is not defined."
12
#
endif
13
14
#
define
NW_INLINE
inline
15
#
if
defined
(
NW_DEBUG
)
16
#
define
NW_FORCE_INLINE
inline
17
#
else
18
#
define
NW_FORCE_INLINE
__attribute__
(
(
always_inline
)
)
inline
19
#
endif
20
21
namespace
nw
{
22
23
typedef
unsigned
long
IntPtr
;
24
typedef
signed
long
PtrDiff
;
25
26
}
27
28
#
define
NW_CONFIG_USE_STATIC
29
#
define
NW_TABLE_FIELD
static
const
30
31
#
define
NW_DISALLOW_COPY_AND_ASSIGN
(
TypeName
)
32
TypeName
(
const
TypeName
&
)
;
33
void
operator
=
(
const
TypeName
&
)
34
35
#
endif
// NW_TYPES_H_
nw
Definition
math_Constant.cpp:5
nw::PtrDiff
signed long PtrDiff
Definition
types.h:24
nw::IntPtr
unsigned long IntPtr
Definition
types.h:23
include
nw
types.h
Generated by
1.14.0