Files
mo7sen 0886535722
Run tests / Run tests (push) Successful in 44s
Made numeric types more stable
2026-05-05 15:10:08 +03:00

39 lines
743 B
C

#ifndef EV_HEADERS_INTERNAL_H
#define EV_HEADERS_INTERNAL_H
#include <stdint.h>
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef float f32;
typedef double f64;
#if !defined(__cplusplus) && __STDC_VERSION__ < 202311L
typedef _Bool bool;
#define true 1
#define false 0
#endif
#define i8_const(v) (i8){v}
#define i16_const(v) (i16){v}
#define i32_const(v) (i32){v}
#define i64_const(v) (i64){v}
#define u8_const(v) (u8){v}
#define u16_const(v) (u16){v}
#define u32_const(v) (u32){v}
#define u64_const(v) (u64){v}
#define f32_const(v) (f32){v}
#define f64_const(v) (f64){v}
#endif // EV_HEADERS_INTERNAL_H