mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-21 19:20:21 +02:00
*** empty log message ***
This commit is contained in:
parent
36d3d54043
commit
ad91d6c3ff
1 changed files with 12 additions and 0 deletions
12
NEWS
12
NEWS
|
@ -64,6 +64,8 @@ In Guile, hooks are first class objects.
|
|||
Return a hook for hook functions which can take N_ARGS arguments.
|
||||
The default value for N_ARGS is 0.
|
||||
|
||||
(See also scm_make_named_hook below.)
|
||||
|
||||
*** New function: add-hook! HOOK PROC [APPEND_P]
|
||||
|
||||
Put PROC at the beginning of the list of functions stored in HOOK.
|
||||
|
@ -1044,6 +1046,16 @@ New functions.
|
|||
|
||||
* Changes to the scm_ interface
|
||||
|
||||
** Function: scm_make_named_hook (char* name, int n_args)
|
||||
|
||||
Creates a hook in the same way as make-hook above but also
|
||||
binds a variable named NAME to it.
|
||||
|
||||
This is the typical way of creating a hook from C code.
|
||||
|
||||
Currently, the variable is created in the root module. This will
|
||||
change when we get the new module system.
|
||||
|
||||
** The interfaces for using I/O ports and implementing port types
|
||||
(ptobs) have changed significantly. The new interface is based on
|
||||
shared access to buffers and a new set of ptob procedures.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue