Commit | Line | Data |
---|---|---|
02aa5a4c MD |
1 | /* classes: h_files */ |
2 | ||
0527e687 DH |
3 | #ifndef SCM_BACKTRACE_H |
4 | #define SCM_BACKTRACE_H | |
5 | ||
102dbb6f | 6 | /* Copyright (C) 1996,1998,1999,2000,2001, 2004, 2006, 2008 Free Software Foundation, Inc. |
0527e687 | 7 | * |
73be1d9e MV |
8 | * This library is free software; you can redistribute it and/or |
9 | * modify it under the terms of the GNU Lesser General Public | |
10 | * License as published by the Free Software Foundation; either | |
11 | * version 2.1 of the License, or (at your option) any later version. | |
0527e687 | 12 | * |
73be1d9e | 13 | * This library is distributed in the hope that it will be useful, |
02aa5a4c | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
73be1d9e MV |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 | * Lesser General Public License for more details. | |
0527e687 | 17 | * |
73be1d9e MV |
18 | * You should have received a copy of the GNU Lesser General Public |
19 | * License along with this library; if not, write to the Free Software | |
92205699 | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
73be1d9e | 21 | */ |
0527e687 | 22 | |
02aa5a4c MD |
23 | \f |
24 | ||
25 | #include "libguile/__scm.h" | |
26 | ||
e4e93373 | 27 | SCM_API SCM scm_the_last_stack_fluid_var; |
b6609fc7 | 28 | |
e4e93373 | 29 | SCM_API void scm_display_error_message (SCM message, SCM args, SCM port); |
102dbb6f LC |
30 | SCM_INTERNAL void scm_i_display_error (SCM stack, SCM port, SCM subr, |
31 | SCM message, SCM args, SCM rest); | |
e4e93373 MV |
32 | SCM_API SCM scm_display_error (SCM stack, SCM port, SCM subr, SCM message, SCM args, SCM rest); |
33 | SCM_API SCM scm_display_application (SCM frame, SCM port, SCM indent); | |
34 | SCM_API SCM scm_display_backtrace (SCM stack, SCM port, SCM first, SCM depth); | |
2b55be75 | 35 | SCM_API SCM scm_display_backtrace_with_highlights (SCM stack, SCM port, SCM first, SCM depth, SCM highlights); |
e4e93373 | 36 | SCM_API SCM scm_backtrace (void); |
2b55be75 | 37 | SCM_API SCM scm_backtrace_with_highlights (SCM highlights); |
2b407f9b | 38 | #ifdef GUILE_DEBUG |
e4e93373 | 39 | SCM_API SCM scm_set_print_params_x (SCM params); |
2b407f9b | 40 | #endif |
02aa5a4c | 41 | |
102dbb6f | 42 | SCM_INTERNAL void scm_init_backtrace (void); |
02aa5a4c | 43 | |
0527e687 | 44 | #endif /* SCM_BACKTRACE_H */ |
89e00824 ML |
45 | |
46 | /* | |
47 | Local Variables: | |
48 | c-file-style: "gnu" | |
49 | End: | |
50 | */ |