1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-19 10:10:23 +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:
Daniel Llorens 2020-02-03 13:24:03 +01:00
parent 996bbb47f2
commit 6c97c8108e
4 changed files with 33 additions and 19 deletions

View file

@ -35,7 +35,7 @@
#define SCM_VALIDATE_ARRAY(pos, v) \
do { \
SCM_ASSERT (SCM_HEAP_OBJECT_P (v) \
&& scm_is_true (scm_array_p (v, SCM_UNDEFINED)), \
&& scm_is_true (scm_array_p (v)), \
v, pos, FUNC_NAME); \
} while (0)
@ -43,8 +43,7 @@
/** Arrays */
SCM_API int scm_is_array (SCM obj);
SCM_API SCM scm_array_p (SCM v, SCM unused);
SCM_INTERNAL SCM scm_array_p_2 (SCM);
SCM_API SCM scm_array_p (SCM v);
SCM_API int scm_is_typed_array (SCM obj, SCM type);
SCM_API SCM scm_typed_array_p (SCM v, SCM type);