tibia-client/src/framework/util/types.h

24 lines
485 B
C
Raw Normal View History

2011-07-13 23:12:36 +02:00
#ifndef TYPES_H
#define TYPES_H
#include <stdint.h>
2011-08-14 04:09:11 +02:00
#include <functional>
2011-07-13 23:12:36 +02:00
2011-08-14 04:09:11 +02:00
// easy handwriting types
2011-07-13 23:12:36 +02:00
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef uint64_t uint64;
typedef uint32_t uint32;
typedef uint16_t uint16;
typedef uint8_t uint8;
typedef int32_t int32;
typedef int16_t int16;
typedef int8_t int8;
2011-08-14 04:09:11 +02:00
typedef std::function<void()> SimpleCallback;
typedef std::function<bool()> BooleanCallback;
#endif