2018-11-05 18:40:48 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
|
|
|
__BEGIN_DECLS
|
|
|
|
|
2019-02-05 15:38:32 +03:00
|
|
|
typedef unsigned long long int uint64_t;
|
2018-11-05 18:40:48 +03:00
|
|
|
typedef unsigned int uint32_t;
|
|
|
|
typedef unsigned short uint16_t;
|
|
|
|
typedef unsigned char uint8_t;
|
|
|
|
|
2019-02-05 15:38:32 +03:00
|
|
|
typedef signed long long int int64_t;
|
2018-11-05 18:40:48 +03:00
|
|
|
typedef signed int int32_t;
|
|
|
|
typedef signed short int16_t;
|
|
|
|
typedef signed char int8_t;
|
|
|
|
|
2018-11-07 12:23:16 +03:00
|
|
|
#define INT8_MIN (-128)
|
|
|
|
#define INT16_MIN (-32767-1)
|
|
|
|
#define INT32_MIN (-2147483647-1)
|
|
|
|
#define INT8_MAX (127)
|
|
|
|
#define INT16_MAX (32767)
|
|
|
|
#define INT32_MAX (2147483647)
|
|
|
|
#define UINT8_MAX (255)
|
|
|
|
#define UINT16_MAX (65535)
|
|
|
|
#define UINT32_MAX (4294967295U)
|
|
|
|
|
2018-11-05 18:40:48 +03:00
|
|
|
__END_DECLS
|
|
|
|
|