diff options
author | Greg J. Badros <gjb@cs.washington.edu> | 2000-01-05 19:05:23 +0000 |
---|---|---|
committer | Greg J. Badros <gjb@cs.washington.edu> | 2000-01-05 19:05:23 +0000 |
commit | a1ec69163dd2e55e5d2b03a164513aa4a0d5943c (patch) | |
tree | 99489194c03fa41397c77e84b3f8660ffef1ed30 /libguile/throw.c | |
parent | fb764465068f84e3ab047c45792ffc3026e5505a (diff) | |
download | guile-a1ec69163dd2e55e5d2b03a164513aa4a0d5943c.tar.gz |
*.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
Diffstat (limited to 'libguile/throw.c')
-rw-r--r-- | libguile/throw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/throw.c b/libguile/throw.c index 8b0c3676d..ba2185f7b 100644 --- a/libguile/throw.c +++ b/libguile/throw.c @@ -526,7 +526,7 @@ scm_handle_by_throw (void *handler_data, SCM tag, SCM args) /* the Scheme-visible CATCH and LAZY-CATCH functions */ -GUILE_PROC(scm_catch, "catch", 3, 0, 0, +SCM_DEFINE(scm_catch, "catch", 3, 0, 0, (SCM tag, SCM thunk, SCM handler), "Invoke @var{thunk} in the dynamic context of @var{handler} for exceptions matching @var{key}. If thunk throws to the symbol @var{key}, @@ -569,7 +569,7 @@ this call to @code{catch}.") #undef FUNC_NAME -GUILE_PROC(scm_lazy_catch, "lazy-catch", 3, 0, 0, +SCM_DEFINE(scm_lazy_catch, "lazy-catch", 3, 0, 0, (SCM tag, SCM thunk, SCM handler), "") #define FUNC_NAME s_scm_lazy_catch @@ -598,7 +598,7 @@ GUILE_PROC(scm_lazy_catch, "lazy-catch", 3, 0, 0, /* throwing */ -GUILE_PROC(scm_throw, "throw", 1, 0, 1, +SCM_DEFINE(scm_throw, "throw", 1, 0, 1, (SCM key, SCM args), "Invoke the catch form matching @var{key}, passing @var{args} to the @var{handler}. |