2001-02-19 04:29:00 -08:00
|
|
|
#ifndef _backtrace_
|
|
|
|
#define _backtrace_
|
|
|
|
|
|
|
|
#include "mlvalues.h"
|
|
|
|
|
2001-08-28 07:47:48 -07:00
|
|
|
CAMLextern int backtrace_active;
|
|
|
|
CAMLextern int backtrace_pos;
|
|
|
|
CAMLextern code_t * backtrace_buffer;
|
2001-02-19 04:29:00 -08:00
|
|
|
|
|
|
|
extern void stash_backtrace(code_t pc, value * sp);
|
2001-08-28 07:47:48 -07:00
|
|
|
CAMLextern void print_exception_backtrace(void);
|
2001-02-19 04:29:00 -08:00
|
|
|
|
|
|
|
#endif
|