diff options
author | Andy Wingo <wingo@pobox.com> | 2011-02-10 23:07:03 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-02-10 23:16:52 +0100 |
commit | 7948811252c38bb80ed6bcf8d060bc29eeac382b (patch) | |
tree | 4a315cce39cf4173e48c76fbb461f8f70d2c5088 /libguile/deprecated.h | |
parent | 8269ba5b2c48b49ad3418214b7f2af1d84930b3c (diff) | |
download | guile-7948811252c38bb80ed6bcf8d060bc29eeac382b.tar.gz |
deprecate primitive properties
* libguile.h:
* libguile/Makefile.am:
* libguile/deprecated.h:
* libguile/deprecated.c:
* libguile/init.c:
* libguile/properties.c:
* libguile/properties.h: Deprecate the "primitive properties"
interface. It was only used to implement object properties, and that
is no longer the case.
* module/ice-9/boot-9.scm (make-object-property): Reimplement just in
terms of weak hash tables, and make threadsafe.
* NEWS:
* doc/ref/api-utility.texi: Update.
Diffstat (limited to 'libguile/deprecated.h')
-rw-r--r-- | libguile/deprecated.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libguile/deprecated.h b/libguile/deprecated.h index 84258fa9f..68aee6362 100644 --- a/libguile/deprecated.h +++ b/libguile/deprecated.h @@ -5,7 +5,7 @@ #ifndef SCM_DEPRECATED_H #define SCM_DEPRECATED_H -/* Copyright (C) 2003,2004, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2003,2004, 2005, 2006, 2007, 2009, 2010, 2011 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 @@ -738,7 +738,16 @@ SCM_DEPRECATED int scm_internal_select (int fds, /* Deprecated because the cuserid call is deprecated. */ -SCM_API SCM scm_cuserid (void); +SCM_DEPRECATED SCM scm_cuserid (void); + + + +/* Deprecated because it's yet another property interface. + */ +SCM_DEPRECATED SCM scm_primitive_make_property (SCM not_found_proc); +SCM_DEPRECATED SCM scm_primitive_property_ref (SCM prop, SCM obj); +SCM_DEPRECATED SCM scm_primitive_property_set_x (SCM prop, SCM obj, SCM val); +SCM_DEPRECATED SCM scm_primitive_property_del_x (SCM prop, SCM obj); |