panthema / 2006 / SDIOS06 / sdios06 / include / sdi / panic.h (Download File)
/*
 * $Id: panic.h 69 2006-07-17 23:23:17Z sdi2 $
 */
#ifndef PANIC_H_
#define PANIC_H_

#ifdef __cplusplus
extern "C" {
#endif

	void __panic(const char* message, const char* function,
	             const char* file, unsigned int line) __attribute__((noreturn));

#define panic(x)	{ __panic(x, __PRETTY_FUNCTION__, __FILE__, __LINE__); }

#ifdef __cplusplus	
}
#endif

#endif
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)
Copyright 2005-2014 Timo Bingmann - Impressum