aboutsummaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-06-22 18:16:54 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-06-22 18:16:54 +0300
commit57033d0ef1810abf4edd9d8e57a95a5795e5a5a9 (patch)
treeb736fc7f72a7d8d720d5c4b86e736a522e07c53e /include/container.h
parent437c40d8bcd533c8af6804f299f5e0cb974f7a9d (diff)
added `rstypes` header.
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h4
1 files changed, 3 insertions, 1 deletions
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 <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -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];