mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
* Made some functions not accept symbols as input parameters any more.
* Replaced some calls to SCM_LENGTH.
This commit is contained in:
parent
bfa974f0a4
commit
9fd38a3d14
8 changed files with 75 additions and 59 deletions
|
@ -232,9 +232,9 @@ SCM_DEFINE (scm_regexp_exec, "regexp-exec", 2, 2, 0,
|
|||
SCM mvec = SCM_BOOL_F;
|
||||
|
||||
SCM_VALIDATE_RGXP (1,rx);
|
||||
SCM_VALIDATE_ROSTRING (2,str);
|
||||
SCM_VALIDATE_STRING (2,str);
|
||||
SCM_VALIDATE_INUM_DEF_COPY (3,start,0,offset);
|
||||
SCM_ASSERT_RANGE (3,start,offset >= 0 && (unsigned) offset <= SCM_LENGTH (str));
|
||||
SCM_ASSERT_RANGE (3,start, offset >= 0 && offset <= SCM_STRING_LENGTH (str));
|
||||
if (SCM_UNBNDP (flags))
|
||||
flags = SCM_INUM0;
|
||||
SCM_VALIDATE_INUM (4,flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue