diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2001-11-18 22:10:41 +0000 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2001-11-18 22:10:41 +0000 |
commit | 694a9bb34e8c07fa265373876323e5aa30465334 (patch) | |
tree | 6ae43435737a1910cc37eac3b36aea22b84253e3 /libguile/vectors.c | |
parent | 3096b33f0d2984fa602c9943078f078668d3d542 (diff) | |
download | guile-694a9bb34e8c07fa265373876323e5aa30465334.tar.gz |
* Updates for string- and vector-move-right/left! docstrings.
* Update Tcl war URLs.
Diffstat (limited to 'libguile/vectors.c')
-rw-r--r-- | libguile/vectors.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/libguile/vectors.c b/libguile/vectors.c index 36ffda380..425eee58a 100644 --- a/libguile/vectors.c +++ b/libguile/vectors.c @@ -275,7 +275,13 @@ scm_vector_equal_p(SCM x, SCM y) SCM_DEFINE (scm_vector_move_left_x, "vector-move-left!", 5, 0, 0, (SCM vec1, SCM start1, SCM end1, SCM vec2, SCM start2), - "Vector version of @code{substring-move-left!}.") + "Copy elements from @var{vec1}, positions @var{start1} to @var{end1},\n" + "to @var{vec2} starting at position @var{start2}. @var{start1} and\n" + "@var{start2} are inclusive indices; @var{end1} is exclusive.\n\n" + "@code{vector-move-left!} copies elements in leftmost order.\n" + "Therefore, in the case where @var{vec1} and @var{vec2} refer to the\n" + "same vector, @code{vector-move-left!} is usually appropriate when\n" + "@var{start1} is greater than @var{start2}.") #define FUNC_NAME s_scm_vector_move_left_x { long i; @@ -298,7 +304,13 @@ SCM_DEFINE (scm_vector_move_left_x, "vector-move-left!", 5, 0, 0, SCM_DEFINE (scm_vector_move_right_x, "vector-move-right!", 5, 0, 0, (SCM vec1, SCM start1, SCM end1, SCM vec2, SCM start2), - "Vector version of @code{substring-move-right!}.") + "Copy elements from @var{vec1}, positions @var{start1} to @var{end1},\n" + "to @var{vec2} starting at position @var{start2}. @var{start1} and\n" + "@var{start2} are inclusive indices; @var{end1} is exclusive.\n\n" + "@code{vector-move-right!} copies elements in rightmost order.\n" + "Therefore, in the case where @var{vec1} and @var{vec2} refer to the\n" + "same vector, @code{vector-move-right!} is usually appropriate when\n" + "@var{start1} is less than @var{start2}.") #define FUNC_NAME s_scm_vector_move_right_x { long i; |