ocaml/byterun/backtrace.h

14 lines
275 B
C

#ifndef _backtrace_
#define _backtrace_
#include "mlvalues.h"
CAMLextern int backtrace_active;
CAMLextern int backtrace_pos;
CAMLextern code_t * backtrace_buffer;
extern void stash_backtrace(code_t pc, value * sp);
CAMLextern void print_exception_backtrace(void);
#endif