mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-22 04:30:19 +02:00
Remove unused internal bytevector functions.
* libguile/bytevectors.c (scm_i_make_typed_bytevector, scm_c_take_typed_bytevector): Remove. * libguile/bytevectors.h: Adjust accordingly.
This commit is contained in:
parent
64e3a89c35
commit
c4daa51910
2 changed files with 0 additions and 18 deletions
|
@ -261,13 +261,6 @@ scm_c_make_bytevector (size_t len)
|
||||||
return make_bytevector (len, SCM_ARRAY_ELEMENT_TYPE_VU8);
|
return make_bytevector (len, SCM_ARRAY_ELEMENT_TYPE_VU8);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return a new bytevector of size LEN elements. */
|
|
||||||
SCM
|
|
||||||
scm_i_make_typed_bytevector (size_t len, scm_t_array_element_type element_type)
|
|
||||||
{
|
|
||||||
return make_bytevector (len, element_type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Return a bytevector of size LEN made up of CONTENTS. The area pointed to
|
/* Return a bytevector of size LEN made up of CONTENTS. The area pointed to
|
||||||
by CONTENTS must have been allocated using `scm_gc_malloc ()'. */
|
by CONTENTS must have been allocated using `scm_gc_malloc ()'. */
|
||||||
SCM
|
SCM
|
||||||
|
@ -276,13 +269,6 @@ scm_c_take_bytevector (signed char *contents, size_t len)
|
||||||
return make_bytevector_from_buffer (len, contents, SCM_ARRAY_ELEMENT_TYPE_VU8);
|
return make_bytevector_from_buffer (len, contents, SCM_ARRAY_ELEMENT_TYPE_VU8);
|
||||||
}
|
}
|
||||||
|
|
||||||
SCM
|
|
||||||
scm_c_take_typed_bytevector (signed char *contents, size_t len,
|
|
||||||
scm_t_array_element_type element_type)
|
|
||||||
{
|
|
||||||
return make_bytevector_from_buffer (len, contents, element_type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Shrink BV to C_NEW_LEN (which is assumed to be smaller than its current
|
/* Shrink BV to C_NEW_LEN (which is assumed to be smaller than its current
|
||||||
size) and return the new bytevector (possibly different from BV). */
|
size) and return the new bytevector (possibly different from BV). */
|
||||||
SCM
|
SCM
|
||||||
|
|
|
@ -129,10 +129,6 @@ SCM_API SCM scm_utf32_to_string (SCM, SCM);
|
||||||
/* Hint that is passed to `scm_gc_malloc ()' and friends. */
|
/* Hint that is passed to `scm_gc_malloc ()' and friends. */
|
||||||
#define SCM_GC_BYTEVECTOR "bytevector"
|
#define SCM_GC_BYTEVECTOR "bytevector"
|
||||||
|
|
||||||
SCM_INTERNAL SCM scm_i_make_typed_bytevector (size_t, scm_t_array_element_type);
|
|
||||||
SCM_INTERNAL SCM scm_c_take_typed_bytevector (signed char *, size_t,
|
|
||||||
scm_t_array_element_type);
|
|
||||||
|
|
||||||
SCM_INTERNAL void scm_bootstrap_bytevectors (void);
|
SCM_INTERNAL void scm_bootstrap_bytevectors (void);
|
||||||
SCM_INTERNAL void scm_init_bytevectors (void);
|
SCM_INTERNAL void scm_init_bytevectors (void);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue