Commit | Line | Data |
---|---|---|
8a5ae618 MD |
1 | /* classes: h_files */ |
2 | ||
b29058ff DH |
3 | #ifndef SCM_SRCPROP_H |
4 | #define SCM_SRCPROP_H | |
5 | ||
76b9bac5 MW |
6 | /* Copyright (C) 1995, 1996, 2000, 2001, 2006, 2008, 2009, 2010, |
7 | * 2011, 2012 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 | |
8a5ae618 MD |
25 | \f |
26 | ||
b4309c3c | 27 | #include "libguile/__scm.h" |
8a5ae618 MD |
28 | |
29 | \f | |
30 | ||
8a5ae618 MD |
31 | /* {Source properties} |
32 | */ | |
b0763985 | 33 | #define SCM_PROCTRACEP(x) (scm_is_true (scm_procedure_property (x, scm_sym_trace))) |
f5710d53 | 34 | #define SCM_SOURCE_PROPERTY_FLAG_BREAK 1 |
e038c042 | 35 | |
b0763985 | 36 | SCM_API scm_t_bits scm_tc16_srcprops; |
8a5ae618 | 37 | |
33b001fd MV |
38 | SCM_API SCM scm_sym_filename; |
39 | SCM_API SCM scm_sym_copy; | |
40 | SCM_API SCM scm_sym_line; | |
41 | SCM_API SCM scm_sym_column; | |
34019bd6 | 42 | |
8a5ae618 MD |
43 | \f |
44 | ||
76b9bac5 | 45 | SCM_API SCM scm_supports_source_properties_p (SCM obj); |
33b001fd MV |
46 | SCM_API SCM scm_make_srcprops (long line, int col, SCM fname, SCM copy, SCM plist); |
47 | SCM_API SCM scm_source_property (SCM obj, SCM key); | |
48 | SCM_API SCM scm_set_source_property_x (SCM obj, SCM key, SCM datum); | |
49 | SCM_API SCM scm_source_properties (SCM obj); | |
50 | SCM_API SCM scm_set_source_properties_x (SCM obj, SCM props); | |
26c8cc14 AW |
51 | SCM_INTERNAL int scm_i_has_source_properties (SCM obj); |
52 | SCM_INTERNAL void scm_i_set_source_properties_x (SCM obj, long line, int col, | |
53 | SCM fname); | |
0f458a37 | 54 | SCM_API SCM scm_cons_source (SCM xorig, SCM x, SCM y); |
102dbb6f | 55 | SCM_INTERNAL void scm_init_srcprop (void); |
8a5ae618 | 56 | |
bc76d628 | 57 | |
b29058ff | 58 | #endif /* SCM_SRCPROP_H */ |
89e00824 ML |
59 | |
60 | /* | |
61 | Local Variables: | |
62 | c-file-style: "gnu" | |
63 | End: | |
64 | */ |