diff options
author | Mark H Weaver <mhw@netris.org> | 2012-02-14 02:14:10 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2012-02-15 11:23:27 -0500 |
commit | 76b9bac565182dd7d0ffe416c3382ac7d59d93ab (patch) | |
tree | 10f39a44fdefc7598828f819b161a59d1231d775 /libguile/srcprop.h | |
parent | fb3a112122b6406e88adbff2299aacc5230cc8ec (diff) | |
download | guile-76b9bac565182dd7d0ffe416c3382ac7d59d93ab.tar.gz |
Add 'supports-source-properties?' predicate
* libguile/srcprop.c (scm_supports_source_properties_p): New procedure.
(supports_source_props): New static C function.
* libguile/srcprop.h (scm_supports_source_properties_p): Add prototype.
* doc/ref/api-debug.texi (Source Properties): Add documentation.
Diffstat (limited to 'libguile/srcprop.h')
-rw-r--r-- | libguile/srcprop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libguile/srcprop.h b/libguile/srcprop.h index 250756dcc..0252e54a1 100644 --- a/libguile/srcprop.h +++ b/libguile/srcprop.h @@ -3,7 +3,8 @@ #ifndef SCM_SRCPROP_H #define SCM_SRCPROP_H -/* Copyright (C) 1995,1996,2000,2001, 2006, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 2000, 2001, 2006, 2008, 2009, 2010, + * 2011, 2012 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -41,6 +42,7 @@ SCM_API SCM scm_sym_column; +SCM_API SCM scm_supports_source_properties_p (SCM obj); SCM_API SCM scm_make_srcprops (long line, int col, SCM fname, SCM copy, SCM plist); SCM_API SCM scm_source_property (SCM obj, SCM key); SCM_API SCM scm_set_source_property_x (SCM obj, SCM key, SCM datum); |