7 lines
181 B
C
7 lines
181 B
C
|
#pragma once
|
||
|
|
||
|
#define panic(msg, ...) _panic_impl(msg, __LINE__, __FILE__, ## __VA_ARGS__)
|
||
|
|
||
|
__attribute__((noreturn))
|
||
|
extern void _panic_impl(char* msg, int line, char* file, ...);
|