1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-03 08:10:31 +02:00

Fix comment in scm_array_get_handle

libguile/array-handle.c: (scm_array_get_handle): comment applies to either branch.
This commit is contained in:
Daniel Llorens 2013-04-16 18:19:57 +02:00 committed by Andy Wingo
parent 3e5f10e8a2
commit f5b2888e83

View file

@ -59,6 +59,8 @@ scm_i_array_implementation_for_obj (SCM obj)
return NULL;
}
/* see bitvector_get_handle, string_get_handle, bytevector_get_handle,
vector_get_handle, only ever called from here */
void
scm_array_get_handle (SCM array, scm_t_array_handle *h)
{
@ -77,16 +79,10 @@ scm_array_get_handle (SCM array, scm_t_array_handle *h)
else
{
impl = scm_i_array_implementation_for_obj (array);
if (impl)
{
h->impl = impl;
/* see bitvector_get_handle, string_get_handle,
bytevector_get_handle, vector_get_handle, only ever called
from here */
h->impl->get_handle (array, h);
}
else
if (!impl)
scm_wrong_type_arg_msg (NULL, 0, array, "array");
h->impl = impl;
h->impl->get_handle (array, h);
}
}