OpenBarnyard
Loading...
Searching...
No Matches
Verify.h
Go to the documentation of this file.
1
#pragma once
2
#include "
Defines.h
"
3
#include "
Typedefs.h
"
4
5
// Check if sizes of the integer types are correct
6
TSTATICASSERT
(
sizeof
(
TINT8
) == 1 );
7
TSTATICASSERT
(
sizeof
(
TUINT8
) == 1 );
8
TSTATICASSERT
(
sizeof
(
TINT16
) == 2 );
9
TSTATICASSERT
(
sizeof
(
TUINT16
) == 2 );
10
TSTATICASSERT
(
sizeof
(
TINT32
) == 4 );
11
TSTATICASSERT
(
sizeof
(
TUINT32
) == 4 );
12
TSTATICASSERT
(
sizeof
(
TINT64
) == 8 );
13
TSTATICASSERT
(
sizeof
(
TUINT64
) == 8 );
14
15
// x64 is not supported
16
//TSTATICASSERT( sizeof( void* ) == 4 );
17
18
#ifndef TOSHI_SKU_WINDOWS
19
# error At the moment, Windows is the only supported OS
20
#endif
Defines.h
TSTATICASSERT
#define TSTATICASSERT(...)
Definition
Defines.h:67
Typedefs.h
TUINT16
uint16_t TUINT16
Definition
Typedefs.h:15
TINT32
int32_t TINT32
Definition
Typedefs.h:12
TUINT64
uint64_t TUINT64
Definition
Typedefs.h:11
TINT16
int16_t TINT16
Definition
Typedefs.h:14
TUINT8
uint8_t TUINT8
Definition
Typedefs.h:17
TUINT32
uint32_t TUINT32
Definition
Typedefs.h:13
TINT64
int64_t TINT64
Definition
Typedefs.h:10
TINT8
int8_t TINT8
Definition
Typedefs.h:16
D:
_dev
OpenBarnyard
Source
Toshi
Source
Toshi
Verify.h
Generated by
1.13.2