[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-215-g07c2c
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-215-g07c2ca0 |
Date: |
Mon, 30 Jan 2012 16:05:45 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=07c2ca0f0d56ebe515cb4ee9f1c3f4b3e824ca7b
The branch, stable-2.0 has been updated
via 07c2ca0f0d56ebe515cb4ee9f1c3f4b3e824ca7b (commit)
from 741b8a2300ef329cf5691a3c35b920df68f093e2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 07c2ca0f0d56ebe515cb4ee9f1c3f4b3e824ca7b
Author: Mark H Weaver <address@hidden>
Date: Mon Jan 30 11:02:29 2012 -0500
Rename scm_call_varargs -> scm_call
* libguile/eval.c, libguile/eval.h, doc/ref/api-evaluation.texi,
test-suite/standalone/test-loose-ends.c, NEWS: Rename
scm_call_varargs -> scm_call
Suggested by Ludovic Courtès <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
NEWS | 2 +-
doc/ref/api-evaluation.texi | 10 +++++-----
libguile/eval.c | 2 +-
libguile/eval.h | 2 +-
test-suite/standalone/test-loose-ends.c | 16 ++++++++--------
5 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/NEWS b/NEWS
index df5a4f8..0edcef7 100644
--- a/NEWS
+++ b/NEWS
@@ -136,7 +136,7 @@ Reflection", "Syntax Transformer Helpers", and "Local
Inclusion".
** New print option: `escape-newlines', defaults to #t.
** (ice-9 ftw): `file-system-fold', `file-system-tree', `scandir'
** `scm_c_value_ref': access to multiple returned values from C
-** scm_call_7, scm_call_8, scm_call_9, and scm_call_varargs
+** scm_call (a varargs version), scm_call_7, scm_call_8, scm_call_9
** Some new syntax helpers in (system syntax)
Search the manual for these identifiers and modules, for more.
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi
index de54194..8c41d1e 100644
--- a/doc/ref/api-evaluation.texi
+++ b/doc/ref/api-evaluation.texi
@@ -539,15 +539,15 @@ then there's no @address@hidden@var{argN} and @var{arg}
is the
Call @var{proc} with the given arguments.
@end deffn
address@hidden {C Function} scm_call_varargs (proc, ...)
address@hidden {C Function} scm_call (proc, ...)
Call @var{proc} with any number of arguments. The argument list must be
terminated by @code{SCM_UNDEFINED}. For example:
@example
-scm_call_varargs (scm_c_public_ref ("guile", "+"),
- scm_from_int (1),
- scm_from_int (2),
- SCM_UNDEFINED);
+scm_call (scm_c_public_ref ("guile", "+"),
+ scm_from_int (1),
+ scm_from_int (2),
+ SCM_UNDEFINED);
@end example
@end deffn
diff --git a/libguile/eval.c b/libguile/eval.c
index 70e303a..e52fa48 100644
--- a/libguile/eval.c
+++ b/libguile/eval.c
@@ -553,7 +553,7 @@ scm_call_n (SCM proc, SCM *argv, size_t nargs)
}
SCM
-scm_call_varargs (SCM proc, ...)
+scm_call (SCM proc, ...)
{
va_list argp;
SCM *argv = NULL;
diff --git a/libguile/eval.h b/libguile/eval.h
index dca0b41..014f0de 100644
--- a/libguile/eval.h
+++ b/libguile/eval.h
@@ -79,7 +79,7 @@ SCM_API SCM scm_call_8 (SCM proc, SCM arg1, SCM arg2, SCM
arg3, SCM arg4,
SCM_API SCM scm_call_9 (SCM proc, SCM arg1, SCM arg2, SCM arg3, SCM arg4,
SCM arg5, SCM arg6, SCM arg7, SCM arg8, SCM arg9);
SCM_API SCM scm_call_n (SCM proc, SCM *argv, size_t nargs);
-SCM_API SCM scm_call_varargs (SCM proc, ...);
+SCM_API SCM scm_call (SCM proc, ...);
SCM_API SCM scm_apply_0 (SCM proc, SCM args);
SCM_API SCM scm_apply_1 (SCM proc, SCM arg1, SCM args);
SCM_API SCM scm_apply_2 (SCM proc, SCM arg1, SCM arg2, SCM args);
diff --git a/test-suite/standalone/test-loose-ends.c
b/test-suite/standalone/test-loose-ends.c
index 253c9a6..ee0fcf3 100644
--- a/test-suite/standalone/test-loose-ends.c
+++ b/test-suite/standalone/test-loose-ends.c
@@ -59,18 +59,18 @@ test_scm_local_eval ()
}
static void
-test_scm_call_varargs ()
+test_scm_call ()
{
SCM result;
- result = scm_call_varargs (scm_c_public_ref ("guile", "+"),
- scm_from_int (1),
- scm_from_int (2),
- SCM_UNDEFINED);
+ result = scm_call (scm_c_public_ref ("guile", "+"),
+ scm_from_int (1),
+ scm_from_int (2),
+ SCM_UNDEFINED);
assert (scm_is_true (scm_equal_p (result, scm_from_int (3))));
- result = scm_call_varargs (scm_c_public_ref ("guile", "list"),
- SCM_UNDEFINED);
+ result = scm_call (scm_c_public_ref ("guile", "list"),
+ SCM_UNDEFINED);
assert (scm_is_eq (result, SCM_EOL));
}
@@ -79,7 +79,7 @@ tests (void *data, int argc, char **argv)
{
test_scm_from_locale_keywordn ();
test_scm_local_eval ();
- test_scm_call_varargs ();
+ test_scm_call ();
}
int
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-215-g07c2ca0,
Mark H Weaver <=