DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) Old-fashioned Properties

Info Catalog (guile.info.gz) Property Primitives (guile.info.gz) Object Properties
 
 24.2.2 An Older Approach to Properties
 --------------------------------------
 
 Traditionally, Lisp systems provide a different object property
 interface to that provided by `make-object-property', in which the
 object property that is being set or retrieved is indicated by a symbol.
 
    Guile includes this older kind of interface as well, but it may well
 be removed in a future release, as it is less powerful than
 `make-object-property' and so increases the size of the Guile library
 for no benefit.  (And it is trivial to write a compatibility layer in
 Scheme.)
 
  -- Scheme Procedure: object-properties obj
  -- C Function: scm_object_properties (obj)
      Return OBJ's property list.
 
  -- Scheme Procedure: set-object-properties! obj alist
  -- C Function: scm_set_object_properties_x (obj, alist)
      Set OBJ's property list to ALIST.
 
  -- Scheme Procedure: object-property obj key
  -- C Function: scm_object_property (obj, key)
      Return the property of OBJ with name KEY.
 
  -- Scheme Procedure: set-object-property! obj key value
  -- C Function: scm_set_object_property_x (obj, key, value)
      In OBJ's property list, set the property named KEY to VALUE.
 
Info Catalog (guile.info.gz) Property Primitives (guile.info.gz) Object Properties
automatically generated byinfo2html