diff options
author | Andy Wingo <wingo@pobox.com> | 2009-08-25 18:04:02 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-08-25 18:04:02 +0200 |
commit | 108e18b18abc066b2709a09283751e9138ccc935 (patch) | |
tree | f55cf91309b7b069bc2f2d725fb788aa08870fa5 /libguile/srfi-4.i.c | |
parent | c15d8e6ab9bf991ca55038fa895993bbb4c1efaa (diff) | |
parent | cd43fdc5b7a7c851ee0f2b4e96a1f394fb50d869 (diff) | |
download | guile-108e18b18abc066b2709a09283751e9138ccc935.tar.gz |
Merge wip-array refactor, up to cd43fdc5b7a7c
Conflicts:
NEWS
libguile/print.c
Diffstat (limited to 'libguile/srfi-4.i.c')
-rw-r--r-- | libguile/srfi-4.i.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/libguile/srfi-4.i.c b/libguile/srfi-4.i.c index 58a52c1d8..cecd6c638 100644 --- a/libguile/srfi-4.i.c +++ b/libguile/srfi-4.i.c @@ -121,17 +121,6 @@ SCM_DEFINE (F(scm_list_to_,TAG,vector), "list->"S(TAG)"vector", 1, 0, 0, } #undef FUNC_NAME -SCM_DEFINE (F(scm_any_to_,TAG,vector), "any->"S(TAG)"vector", 1, 0, 0, - (SCM obj), - "Convert @var{obj}, which can be a list, vector, or\n" - "uniform vector, to a numeric uniform vector of\n" - "type " S(TAG)".") -#define FUNC_NAME s_F(scm_any_to_,TAG,vector) -{ - return coerce_to_uvec (TYPE, obj); -} -#undef FUNC_NAME - #ifdef CTYPE SCM @@ -187,13 +176,13 @@ F(scm_,TAG,vector_writable_elements) (SCM uvec, #endif static SCM -F(,TAG,ref) (scm_t_array_handle *handle, ssize_t pos) +F(,TAG,ref) (scm_t_array_handle *handle, size_t pos) { return uvec_fast_ref (TYPE, handle->elements, pos); } static void -F(,TAG,set) (scm_t_array_handle *handle, ssize_t pos, SCM val) +F(,TAG,set) (scm_t_array_handle *handle, size_t pos, SCM val) { uvec_fast_set_x (TYPE, handle->writable_elements, pos, val); } |