mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
*** empty log message ***
This commit is contained in:
parent
36399a6df2
commit
ece4116847
3 changed files with 35 additions and 2 deletions
29
NEWS
29
NEWS
|
@ -52,6 +52,8 @@ reduced to 30% of what it was previously.
|
|||
Correctly written scripts load the modules they require at the top of
|
||||
the file and should not be affected by this change.
|
||||
|
||||
** Hooks are now represented as smobs
|
||||
|
||||
* Changes to Scheme functions and syntax
|
||||
|
||||
** Readline support has changed again.
|
||||
|
@ -110,6 +112,12 @@ If present, FLAGS is passed as the FLAGS argument to regexp-exec.
|
|||
|
||||
Return #t if OBJ is a hook, otherwise #f.
|
||||
|
||||
*** New function: make-hook-with-name NAME [ARITY]
|
||||
|
||||
Return a hook with name NAME and arity ARITY. The default value for
|
||||
ARITY is 0. The only effect of NAME is that it will appear when the
|
||||
hook object is printed to ease debugging.
|
||||
|
||||
*** New function: hook-empty? HOOK
|
||||
|
||||
Return #t if HOOK doesn't contain any procedures, otherwise #f.
|
||||
|
@ -253,6 +261,23 @@ these compilation units has been cleaned up and better structured.
|
|||
New function: SCM scm_call_generic_2 (GENERIC, ARG1, ARG2)
|
||||
New function: SCM scm_call_generic_3 (GENERIC, ARG1, ARG2, ARG3)
|
||||
|
||||
** Deprecated function: scm_make_named_hook
|
||||
|
||||
It is now replaced by:
|
||||
|
||||
** New function: SCM scm_create_hook (const char *name, int arity)
|
||||
|
||||
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 "current" module.
|
||||
This might change when we get the new module system.
|
||||
|
||||
[The behaviour is identical to scm_make_named_hook.]
|
||||
|
||||
|
||||
|
||||
Changes since Guile 1.3:
|
||||
|
||||
|
@ -1367,8 +1392,8 @@ 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.
|
||||
Currently, the variable is created in the "current" module. This
|
||||
might change when we get the new module system.
|
||||
|
||||
** The smob interface
|
||||
|
||||
|
|
1
RELEASE
1
RELEASE
|
@ -14,6 +14,7 @@ In release 1.4:
|
|||
- remove kw.h, scm_tc16_kw
|
||||
- remove genio.h
|
||||
- remove deprecated function scm_newsmob.
|
||||
- remove deprecated function scm_make_named_hook.
|
||||
|
||||
Modules sort.c and random.c should be factored out into separate
|
||||
modules (but still be distributed with guile-core) when we get a new
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
1999-09-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
|
||||
|
||||
* feature.c (scm_create_hook): New function. Replaces
|
||||
scm_make_named_hook which is now deprecated.
|
||||
(scm_make_hook_with_name): New primitive.
|
||||
(print_hook): Hooks now print in a fancy way.
|
||||
|
||||
1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
|
||||
|
||||
* __scm.h, backtrace.c, backtrace.h, debug.c, debug.h, dynl-dld.c,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue