mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-03 05:20:16 +02:00
*** empty log message ***
This commit is contained in:
parent
468fbf58ab
commit
17f367e095
1 changed files with 28 additions and 0 deletions
28
NEWS
28
NEWS
|
@ -22,6 +22,21 @@ Example:
|
|||
|
||||
* Changes to Scheme functions and syntax
|
||||
|
||||
** New function `make-object-property'
|
||||
|
||||
This function returns a new `procedure with setter' P that can be used
|
||||
to attach a property to objects. When calling P as
|
||||
|
||||
(set! (P obj) val)
|
||||
|
||||
where `obj' is any kind of object, it attaches `val' to `obj' in such
|
||||
a way that it can be retrieved by calling P as
|
||||
|
||||
(P obj)
|
||||
|
||||
This function will replace procedure properties, symbol properties and
|
||||
source properties eventually.
|
||||
|
||||
** Module (ice-9 optargs) now uses keywords instead of `#&'.
|
||||
|
||||
Instead of #&optional, #&key, etc you should now use #:optional,
|
||||
|
@ -89,6 +104,19 @@ Guile.
|
|||
|
||||
* Changes to the scm_ interface
|
||||
|
||||
** New function: scm_init_guile ()
|
||||
|
||||
In contrast to scm_boot_guile, scm_init_guile will return normally
|
||||
after initializing Guile. It is not available on all systems, tho.
|
||||
|
||||
** New functions: scm_primitive_make_property
|
||||
scm_primitive_property_ref
|
||||
scm_primitive_property_set_x
|
||||
scm_primitive_property_del_x
|
||||
|
||||
These functions implement a new way to deal with object properties.
|
||||
See libguile/properties.c for their documentation.
|
||||
|
||||
** New function: scm_done_free (long size)
|
||||
|
||||
This function is the inverse of scm_done_malloc. Use it to report the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue