blob: f9f9723156e69cf9afd736c0d579bd08c7ca8d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef JUSTANOTHERCATGITL_RSTYPES_H
#define JUSTANOTHERCATGITL_RSTYPES_H
#include <stdint.h>
typedef void _0;
#define u0 bool
typedef uint8_t u8;
typedef int8_t i8;
typedef uint16_t u16;
typedef int16_t i16;
typedef uint32_t u32;
typedef int32_t i32;
typedef uint64_t u64;
typedef int64_t i64;
typedef float f32;
typedef double f64;
#if defined(__SIZEOF_LONG_DOUBLE__) && __SIZEOF_LONG_DOUBLE__ == 128/8
typedef long double f128;
#else // __SIZEOF_LONG_DOUBLE__
#if defined(__clang__) || defined(__GNUC__)
typedef __float128 f128;
#else
#define f128 "128-bit floats are not supported on this platform/compiler"
#endif // __clang__ || __GNUC__
#endif // __SIZEOF_LONG_DOUBLE__
#ifdef RS_TYPES_USE_128
#if defined(__clang__) || defined(__GNUC__)
typedef __int128 i128;
typedef unsigned __int128 u128;
#else // __clang__ || __GNUC__
#define i128 "128-bit integers are not supported in this compiler"
#define u128 "128-bit integers are not supported in this compiler"
#endif // __clang__ || __GNUC__
#endif // RS_TYPES_USE_128
#endif // JUSTANOTHERCATGITL_RSTYPES_H
/* vim: set ts=8 noet: */
|