Commit | Line | Data |
---|---|---|
c7ecd529 MD |
1 | /* classes: h_files */ |
2 | ||
13dcb666 DH |
3 | #ifndef SCM_DEBUG_H |
4 | #define SCM_DEBUG_H | |
b29058ff | 5 | |
e2cbf527 | 6 | /* Copyright (C) 1995,1996,1998,1999,2000,2001,2002,2004,2008,2009,2010,2011,2012,2013 |
434f2f7a | 7 | * Free Software Foundation, Inc. |
b29058ff | 8 | * |
73be1d9e | 9 | * This library is free software; you can redistribute it and/or |
53befeb7 NJ |
10 | * modify it under the terms of the GNU Lesser General Public License |
11 | * as published by the Free Software Foundation; either version 3 of | |
12 | * the License, or (at your option) any later version. | |
b29058ff | 13 | * |
53befeb7 NJ |
14 | * This library is distributed in the hope that it will be useful, but |
15 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
73be1d9e MV |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | * Lesser General Public License for more details. | |
b29058ff | 18 | * |
73be1d9e MV |
19 | * You should have received a copy of the GNU Lesser General Public |
20 | * License along with this library; if not, write to the Free Software | |
53befeb7 NJ |
21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
22 | * 02110-1301 USA | |
73be1d9e | 23 | */ |
d3a6bc94 | 24 | |
c7ecd529 MD |
25 | \f |
26 | ||
b4309c3c | 27 | #include "libguile/__scm.h" |
c7ecd529 | 28 | |
e771f866 | 29 | #include "libguile/options.h" |
c7ecd529 MD |
30 | \f |
31 | ||
c7ecd529 MD |
32 | /* {Evaluator} |
33 | */ | |
34 | ||
92c2555f | 35 | typedef union scm_t_debug_info |
c7ecd529 MD |
36 | { |
37 | struct { SCM exp, env; } e; | |
38 | struct { SCM proc, args; } a; | |
473c250d | 39 | SCM id; |
92c2555f | 40 | } scm_t_debug_info; |
c7ecd529 | 41 | |
c7ecd529 MD |
42 | \f |
43 | ||
d062a8c1 AW |
44 | SCM_API SCM scm_local_eval (SCM exp, SCM env); |
45 | ||
33b001fd | 46 | SCM_API SCM scm_reverse_lookup (SCM env, SCM data); |
33b001fd | 47 | SCM_API SCM scm_debug_options (SCM setting); |
9fcf3cbb | 48 | |
102dbb6f | 49 | SCM_INTERNAL void scm_init_debug (void); |
c7ecd529 | 50 | |
f3667f52 | 51 | #ifdef GUILE_DEBUG |
33b001fd | 52 | SCM_API SCM scm_debug_hang (SCM obj); |
f3667f52 JB |
53 | #endif /*GUILE_DEBUG*/ |
54 | ||
b29058ff | 55 | #endif /* SCM_DEBUG_H */ |
89e00824 ML |
56 | |
57 | /* | |
58 | Local Variables: | |
59 | c-file-style: "gnu" | |
60 | End: | |
61 | */ |