summaryrefslogtreecommitdiff
path: root/libguile/symbols.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2010-08-08 14:15:47 +0200
committerAndy Wingo <wingo@pobox.com>2010-08-08 14:15:47 +0200
commit8a4ed2dd34c86eb451c5555a85f64f3fbdf9cef6 (patch)
tree592132af4f874860a2202420842b0c9c24af2b2b /libguile/symbols.h
parent220058a8353815f2cefa67e2510b7132991cf7a7 (diff)
downloadguile-8a4ed2dd34c86eb451c5555a85f64f3fbdf9cef6.tar.gz
remove "discouraged" infrastructure
* libguile/discouraged.h: Remove. * libguile/deprecated.c (scm_internal_select, scm_thread_sleep) (scm_thread_usleep): Deprecate formerly discouraged names. * libguile/eq.h (SCM_EQ_P): * libguile/pairs.h (SCM_NULLP, SCM_NNULLP, SCM_CONSP, SCM_NCONSP): * libguile/boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOLP, SCM_BOOL): (SCM_NEGATE_BOOL, SCM_BOOL_NOT): Undiscourage these names, because I'm not sure deprecating them will do any good. * libguile.h: * libguile/gen-scmconfig.c: * libguile/numbers.c: * libguile/init.c: * libguile/Makefile.am: * configure.ac: Remove bits that referenced discouraged.h, and dealt with the "discouraging" system.
Diffstat (limited to 'libguile/symbols.h')
-rw-r--r--libguile/symbols.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/libguile/symbols.h b/libguile/symbols.h
index e4bc33391..8f96d65e5 100644
--- a/libguile/symbols.h
+++ b/libguile/symbols.h
@@ -3,7 +3,7 @@
#ifndef SCM_SYMBOLS_H
#define SCM_SYMBOLS_H
-/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2004, 2006, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2004, 2006, 2008, 2010 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
@@ -36,6 +36,18 @@
+/* Older spellings; don't use in new code.
+ */
+#define SCM_SYMBOLP(x) (scm_is_symbol (x))
+#define SCM_SYMBOL_FUNC(x) (scm_symbol_fref (x))
+#define SCM_SET_SYMBOL_FUNC(x,f) (scm_symbol_fset_x (x, f))
+#define SCM_SYMBOL_PROPS(x) (scm_symbol_pref (x))
+#define SCM_SET_SYMBOL_PROPS(x,p) (scm_symbol_pset_x (x, p))
+#define SCM_SYMBOL_HASH(x) (scm_i_symbol_hash (x))
+#define SCM_SYMBOL_INTERNED_P(x) (scm_i_symbol_is_interned (x))
+
+
+
#ifdef GUILE_DEBUG
SCM_API SCM scm_sys_symbols (void);
#endif