From 57033d0ef1810abf4edd9d8e57a95a5795e5a5a9 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Sat, 22 Jun 2024 18:16:54 +0300 Subject: added `rstypes` header. --- include/container.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/container.h') diff --git a/include/container.h b/include/container.h index b987d35..47eb0a7 100644 --- a/include/container.h +++ b/include/container.h @@ -1,7 +1,6 @@ #ifndef JUSTANOTHERCATGIRL_HEADERS_CONTAINER #define JUSTANOTHERCATGIRL_HEADERS_CONTAINER -#include #include #include #include @@ -29,6 +28,7 @@ typedef unsigned char byte; unsigned long __bit_scan_32(int32_t number); unsigned long __bit_scan_64(int64_t number); #endif + #if defined(__clang__) || defined(__GNUC__) #define FALLTHROUGH __attribute__((fallthrough)) #elif defined(_MSC_VER) @@ -37,6 +37,8 @@ typedef unsigned char byte; #define FALLTHROUGH ((void)0) #endif +#define TODO (void)(*(volatile char*)0) + typedef int(*qsort_cmp_t)(const void*, const void*); #define get_qsort_cmp(type) __qsort_cmps[sizeof(type)] extern const qsort_cmp_t __qsort_cmps[64]; -- cgit v1.2.3-70-g09d2