EU1KY AA
crash.h
Go to the documentation of this file.
1 #ifndef _CRASH_H_
2 #define _CRASH_H
3 #include <stdio.h>
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 void CRASH(const char* txt);
10 
11 #ifdef __cplusplus
12 }
13 #endif
14 
15 #define CRASHF(fmt, ...) do {char __str[256]; sprintf(__str, fmt, __VA_ARGS__); CRASH(__str); } while ((void)0, 0)
16 #endif
void CRASH(const char *txt)
Definition: main.c:307