Otclient
14/8/2020
types.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2010-2020 OTClient <https://github.com/edubart/otclient>
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a copy
5
* of this software and associated documentation files (the "Software"), to deal
6
* in the Software without restriction, including without limitation the rights
7
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
* copies of the Software, and to permit persons to whom the Software is
9
* furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included in
12
* all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
* THE SOFTWARE.
21
*/
22
23
#ifndef STDEXT_TYPES_H
24
#define STDEXT_TYPES_H
25
26
#include <cstdint>
27
#include <cstddef>
28
29
typedef
unsigned
char
uchar
;
30
typedef
unsigned
short
ushort
;
31
typedef
unsigned
int
uint
;
32
typedef
unsigned
long
ulong
;
33
34
typedef
uint64_t
uint64
;
35
typedef
uint32_t
uint32
;
36
typedef
uint16_t
uint16
;
37
typedef
uint8_t
uint8
;
38
typedef
int64_t
int64
;
39
typedef
int32_t
int32
;
40
typedef
int16_t
int16
;
41
typedef
int8_t
int8
;
42
43
typedef
int64
ticks_t
;
44
typedef
uint_fast32_t
refcount_t
;
45
46
using
std::size_t;
47
using
std::ptrdiff_t;
48
49
#endif
uint32
uint32_t uint32
Definition:
types.h:35
ticks_t
int64 ticks_t
Definition:
types.h:43
int64
int64_t int64
Definition:
types.h:38
refcount_t
uint_fast32_t refcount_t
Definition:
types.h:44
int8
int8_t int8
Definition:
types.h:41
uint16
uint16_t uint16
Definition:
types.h:36
uint
unsigned int uint
Definition:
types.h:31
ushort
unsigned short ushort
Definition:
types.h:30
int32
int32_t int32
Definition:
types.h:39
ulong
unsigned long ulong
Definition:
types.h:32
uint64
uint64_t uint64
Definition:
types.h:34
uchar
unsigned char uchar
Definition:
types.h:29
int16
int16_t int16
Definition:
types.h:40
uint8
uint8_t uint8
Definition:
types.h:37
src
framework
stdext
types.h
Generated by
1.8.17
For more information visit
https://forum.opentibia.dev/