mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 12:00:21 +02:00
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.
This commit is contained in:
parent
8269ba5b2c
commit
7948811252
10 changed files with 149 additions and 250 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue