mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 09:17:53 +00:00
This change might cause ABI breakages for /opt/cosmos. It's needed to help us better conform to header declaration practices.
14 lines
490 B
C
14 lines
490 B
C
#include "libc/fmt/fmt.h"
|
|
#include "libc/runtime/runtime.h"
|
|
#include "libc/stdio/stdio.h"
|
|
#include "libc/str/str.h"
|
|
|
|
__static_yoink("sys_mmap"); /* asan needs it */
|
|
__static_yoink("__track_memory"); /* asan needs it */
|
|
|
|
#define ASSERT(x, y) Assert2(x, y, #y, __FILE__, __LINE__)
|
|
#define ASSERT128(x, y) Assert128(x, y, #y, __FILE__, __LINE__)
|
|
|
|
void Assert(long, long, char *);
|
|
void Assert2(long, long, char *, char *, int);
|
|
void Assert128(__int128, __int128, char *, char *, int);
|