Files
Upsilon/liba/include/stdint.h
Léa Saviot 0a1c6a3d1d [poincare/tree_pool] Store node offsets, not node pointers
This saves place because we store uint16_t, not uint32_t
2020-02-12 15:13:16 +01:00

38 lines
791 B
C

#ifndef LIBA_STDINT_H
#define LIBA_STDINT_H
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef signed long long int64_t;
typedef unsigned int uintptr_t;
typedef signed int intptr_t;
typedef uint32_t uint_fast8_t;
typedef uint32_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef uint64_t uint_fast64_t;
typedef int32_t int_fast8_t;
typedef int32_t int_fast16_t;
typedef int32_t int_fast32_t;
typedef int64_t int_fast64_t;
typedef uint8_t uint_least8_t;
#define UINT16_MAX 0xffff
#define INT16_MAX 0x7fff
#define INT16_MIN (-INT16_MAX-1)
#define UINT64_C(c) c ## ULL
#define INT64_C(c) c ## LL
#endif