mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
* strings.c: Fixed mistaken default value in
scm_make_shared_substring; thanks Eric Moore!
This commit is contained in:
parent
d0d595806a
commit
ce3769fb6f
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ defaults to the end of @var{str}. The shared substring returned by
|
|||
|
||||
SCM_VALIDATE_ROSTRING(1,str);
|
||||
SCM_VALIDATE_INT_DEF_COPY(2,frm,0,f);
|
||||
SCM_VALIDATE_INT_DEF_COPY(3,to,0,t);
|
||||
SCM_VALIDATE_INT_DEF_COPY(3,to,SCM_ROLENGTH(str),t);
|
||||
|
||||
SCM_ASSERT_RANGE (2,frm,(f >= 0));
|
||||
SCM_ASSERT_RANGE (3,to, (f <= t) && (t <= SCM_ROLENGTH (str)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue