2016-02-18 07:11:59 -08:00
|
|
|
/**************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* OCaml */
|
|
|
|
/* */
|
|
|
|
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
|
|
|
/* Copyright 2001 Institut National de Recherche en Informatique et */
|
|
|
|
/* en Automatique. */
|
|
|
|
/* */
|
|
|
|
/* All rights reserved. This file is distributed under the terms of */
|
|
|
|
/* the GNU Lesser General Public License version 2.1, with the */
|
|
|
|
/* special exception on linking described in the file LICENSE. */
|
|
|
|
/* */
|
|
|
|
/**************************************************************************/
|
2001-06-15 07:22:38 -07:00
|
|
|
|
2003-12-15 10:10:51 -08:00
|
|
|
#ifndef CAML_PRINTEXC_H
|
|
|
|
#define CAML_PRINTEXC_H
|
2001-06-15 07:22:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
#include "misc.h"
|
|
|
|
#include "mlvalues.h"
|
|
|
|
|
2012-01-07 12:55:28 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-01-01 08:42:43 -08:00
|
|
|
CAMLextern char * caml_format_exception (value);
|
2020-09-04 07:59:43 -07:00
|
|
|
#ifdef CAML_INTERNALS
|
2015-08-02 09:54:24 -07:00
|
|
|
CAMLnoreturn_start void caml_fatal_uncaught_exception (value) CAMLnoreturn_end;
|
2020-09-04 07:59:43 -07:00
|
|
|
#endif /* CAML_INTERNALS */
|
2001-06-15 07:22:38 -07:00
|
|
|
|
2012-01-07 12:55:28 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2001-06-15 07:22:38 -07:00
|
|
|
|
2003-12-15 10:10:51 -08:00
|
|
|
#endif /* CAML_PRINTEXC_H */
|