mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-11 00:00:49 +02:00
Remove the unused argument from scm_array_p
* libguile/generalized-arrays.h: * libguile/generalized-arrays.c: As stated. * doc/ref/api-data.texi: Fix documentation. * NEWS-array-fixes.txt: Document branch changes.
This commit is contained in:
parent
996bbb47f2
commit
6c97c8108e
4 changed files with 33 additions and 19 deletions
|
@ -62,25 +62,16 @@ scm_is_array (SCM obj)
|
|||
}
|
||||
}
|
||||
|
||||
SCM_DEFINE (scm_array_p_2, "array?", 1, 0, 0,
|
||||
SCM_DEFINE (scm_array_p, "array?", 1, 0, 0,
|
||||
(SCM obj),
|
||||
"Return @code{#t} if the @var{obj} is an array, and @code{#f} if\n"
|
||||
"not.")
|
||||
#define FUNC_NAME s_scm_array_p_2
|
||||
#define FUNC_NAME s_scm_array_p
|
||||
{
|
||||
return scm_from_bool (scm_is_array (obj));
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
/* The array type predicate, with an extra argument kept for backward
|
||||
compatibility. Note that we can't use `SCM_DEFINE' directly because there
|
||||
would be an argument count mismatch that would be caught by
|
||||
`snarf-check-and-output-texi.scm'. */
|
||||
SCM
|
||||
scm_array_p (SCM obj, SCM unused)
|
||||
{
|
||||
return scm_array_p_2 (obj);
|
||||
}
|
||||
|
||||
int
|
||||
scm_is_typed_array (SCM obj, SCM type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue