24 lines
485 B
C++
24 lines
485 B
C++
#ifndef TYPES_H
|
|
#define TYPES_H
|
|
|
|
#include <stdint.h>
|
|
#include <functional>
|
|
|
|
// easy handwriting types
|
|
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;
|
|
|
|
typedef std::function<void()> SimpleCallback;
|
|
typedef std::function<bool()> BooleanCallback;
|
|
|
|
#endif
|