DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) Property Primitives

Info Catalog (guile.info.gz) Object Properties (guile.info.gz) Old-fashioned Properties
 
 24.2.1 Low Level Property Implementation.
 -----------------------------------------
 
  -- Scheme Procedure: primitive-make-property not_found_proc
  -- C Function: scm_primitive_make_property (not_found_proc)
      Create a "property token" that can be used with
      `primitive-property-ref' and `primitive-property-set!'.  See
      `primitive-property-ref' for the significance of NOT_FOUND_PROC.
 
  -- Scheme Procedure: primitive-property-ref prop obj
  -- C Function: scm_primitive_property_ref (prop, obj)
      Return the property PROP of OBJ.  When no value has yet been
      associated with PROP and OBJ, call NOT-FOUND-PROC instead (see
      `primitive-make-property') and use its return value.  That value
      is also associated with OBJ via `primitive-property-set!'.  When
      NOT-FOUND-PROC is `#f', use `#f' as the default value of PROP.
 
  -- Scheme Procedure: primitive-property-set! prop obj val
  -- C Function: scm_primitive_property_set_x (prop, obj, val)
      Associate CODE with PROP and OBJ.
 
  -- Scheme Procedure: primitive-property-del! prop obj
  -- C Function: scm_primitive_property_del_x (prop, obj)
      Remove any value associated with PROP and OBJ.
 
Info Catalog (guile.info.gz) Object Properties (guile.info.gz) Old-fashioned Properties
automatically generated byinfo2html