diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-06-21 23:16:57 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-06-22 01:05:43 +0200 |
commit | 404bb5f87b66709206507acdf7b899101185a7a0 (patch) | |
tree | e893992fa46a837112c2f69550d4825afbcf12db /libguile/srfi-4.c | |
parent | 2d34e9244b8b35f62d086a88db749718a2a1a3b4 (diff) | |
download | guile-404bb5f87b66709206507acdf7b899101185a7a0.tar.gz |
bytevectors: Add a C-friendly API.
* doc/ref/api-data.texi (Bytevector Manipulation): Add
`scm_is_bytevector ()', `scm_c_bytevector_length ()',
`scm_c_bytevector_length ()', and `scm_c_bytevector_set_x ()'.
* libguile/bytevectors.c (scm_is_bytevector, scm_c_bytevector_length,
scm_c_bytevector_ref, scm_c_bytevector_set_x): New functions.
(scm_bytevector_p): Use `scm_is_bytevector ()'.
(scm_bytevector_length): Use `scm_c_bytevector_length ()'.
* libguile/bytevectors.h (scm_is_bytevector, scm_c_bytevector_length,
scm_c_bytevector_ref, scm_c_bytevector_set_x): New declarations.
Diffstat (limited to 'libguile/srfi-4.c')
0 files changed, 0 insertions, 0 deletions