summaryrefslogtreecommitdiff
path: root/libguile/generalized-arrays.h
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2015-02-12 10:15:42 +0100
committerDaniel Llorens <daniel.llorens@bluewin.ch>2016-07-11 09:11:50 +0200
commited6c65507ae3b93e02dbe22a2c1e31c1b8c329fb (patch)
tree1dfff97db824f7a997c8b4cf52bc9bd46c93eadf /libguile/generalized-arrays.h
parent3aafc2c857541fc4d015b5d6ba2ac075f50240d0 (diff)
downloadguile-ed6c65507ae3b93e02dbe22a2c1e31c1b8c329fb.tar.gz
Don't use array handles in scm_c_array_rank
* libguile/arrays.c (scm_c_array_rank): moved from libguile/generalized-arrays.c. Don't use array handles, but follow the same type check sequence as the other array functions (shared-array-root, etc). (scm_array_rank): moved from libguile/generalized-arrays.h. * libguile/arrays.h: move prototypes here.
Diffstat (limited to 'libguile/generalized-arrays.h')
-rw-r--r--libguile/generalized-arrays.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libguile/generalized-arrays.h b/libguile/generalized-arrays.h
index dfdb8bd03..cfa69051b 100644
--- a/libguile/generalized-arrays.h
+++ b/libguile/generalized-arrays.h
@@ -41,9 +41,6 @@ SCM_INTERNAL SCM scm_array_p_2 (SCM);
SCM_API int scm_is_typed_array (SCM obj, SCM type);
SCM_API SCM scm_typed_array_p (SCM v, SCM type);
-SCM_API size_t scm_c_array_rank (SCM ra);
-SCM_API SCM scm_array_rank (SCM ra);
-
SCM_API size_t scm_c_array_length (SCM ra);
SCM_API SCM scm_array_length (SCM ra);