Commit | Line | Data |
---|---|---|
02aa5a4c MD |
1 | /* classes: h_files */ |
2 | ||
0527e687 DH |
3 | #ifndef SCM_BACKTRACE_H |
4 | #define SCM_BACKTRACE_H | |
5 | ||
e8df456a | 6 | /* Copyright (C) 1996,1998,1999,2000,2001, 2004, 2006, 2008, 2010, 2011 Free Software Foundation, Inc. |
0527e687 | 7 | * |
73be1d9e | 8 | * This library is free software; you can redistribute it and/or |
53befeb7 NJ |
9 | * modify it under the terms of the GNU Lesser General Public License |
10 | * as published by the Free Software Foundation; either version 3 of | |
11 | * the License, or (at your option) any later version. | |
0527e687 | 12 | * |
53befeb7 NJ |
13 | * This library is distributed in the hope that it will be useful, but |
14 | * 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 | |
53befeb7 NJ |
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
21 | * 02110-1301 USA | |
73be1d9e | 22 | */ |
0527e687 | 23 | |
02aa5a4c MD |
24 | \f |
25 | ||
26 | #include "libguile/__scm.h" | |
27 | ||
e8df456a AW |
28 | SCM_API SCM scm_print_exception (SCM port, SCM frame, SCM key, SCM args); |
29 | ||
e4e93373 | 30 | SCM_API void scm_display_error_message (SCM message, SCM args, SCM port); |
7545ddd4 | 31 | SCM_INTERNAL void scm_i_display_error (SCM frame, SCM port, SCM subr, |
102dbb6f | 32 | SCM message, SCM args, SCM rest); |
218d580a | 33 | SCM_API SCM scm_display_error (SCM frame, SCM port, SCM subr, SCM message, SCM args, SCM rest); |
e4e93373 MV |
34 | SCM_API SCM scm_display_application (SCM frame, SCM port, SCM indent); |
35 | SCM_API SCM scm_display_backtrace (SCM stack, SCM port, SCM first, SCM depth); | |
2b55be75 | 36 | SCM_API SCM scm_display_backtrace_with_highlights (SCM stack, SCM port, SCM first, SCM depth, SCM highlights); |
e4e93373 | 37 | SCM_API SCM scm_backtrace (void); |
2b55be75 | 38 | SCM_API SCM scm_backtrace_with_highlights (SCM highlights); |
2b407f9b | 39 | #ifdef GUILE_DEBUG |
e4e93373 | 40 | SCM_API SCM scm_set_print_params_x (SCM params); |
2b407f9b | 41 | #endif |
02aa5a4c | 42 | |
102dbb6f | 43 | SCM_INTERNAL void scm_init_backtrace (void); |
02aa5a4c | 44 | |
0527e687 | 45 | #endif /* SCM_BACKTRACE_H */ |
89e00824 ML |
46 | |
47 | /* | |
48 | Local Variables: | |
49 | c-file-style: "gnu" | |
50 | End: | |
51 | */ |