Skip to content
interr.h 465 B
Newer Older
wlott's avatar
wlott committed
/*
Raymond Toy's avatar
Raymond Toy committed

 This code was written as part of the CMU Common Lisp project at
 Carnegie Mellon University, and has been placed in the public domain.

*/
wlott's avatar
wlott committed

#ifndef _INTERR_H_
#define _INTERR_H_

#define crap_out(msg) do { write(2, msg, sizeof(msg)); lose(); } while (0)

extern void lose(char *fmt, ...);
extern void set_lossage_handler(void fun(void));
extern void internal_error(os_context_t * context);
wlott's avatar
wlott committed

extern lispobj debug_print(lispobj string);