Deprecate the use of the vector interface on arrays
authorAndy Wingo <wingo@pobox.com>
Sat, 8 Feb 2014 15:13:54 +0000 (16:13 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 8 Feb 2014 15:43:12 +0000 (16:43 +0100)
commit24cac6554073bb6e691605cd6ac6196f3c0851a3
treeb4ae76a5491b9a6f15f7fd016913b29277f0130b
parent5cfeff11cc58148c58a85a879fd7a3e7cfbbe8e2
Deprecate the use of the vector interface on arrays

* libguile/vectors.c (scm_is_vector): Deprecate use on weak vectors and
  arrays.
  (scm_is_simple_vector): Deprecate use on weak vectors.
  (scm_vector_length, scm_c_vector_ref, scm_c_vector_set_x): Deprecate
  use on arrays.

* libguile/sort.c: Adapt to check explicitly for arrays.
libguile/sort.c
libguile/vectors.c