source file of the GNU LilyPond music typesetter
- (c) 1999--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1999--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "scm-hash.hh"
static void
copy_scm_hashes (SCM dest, SCM src)
{
- scm_internal_hash_for_each_handle ( (SCM (*)()) ©_handle, dest, src);
+ scm_internal_hash_for_each_handle ( (SCM (*)(GUILE_ELLIPSIS)) ©_handle, dest, src);
}
Scheme_hash_table::Scheme_hash_table ()
}
static SCM
-collect_handles (void *closure, SCM key, SCM value, SCM result)
+collect_handles (void * /* closure */,
+ SCM key,
+ SCM value,
+ SCM result)
{
- (void) closure;
return scm_acons(key, value, result);
}
SCM
Scheme_hash_table::to_alist () const
{
- return scm_internal_hash_fold ((SCM (*)()) &collect_handles, NULL, SCM_EOL, hash_tab_);
+ return scm_internal_hash_fold ((SCM (*)(GUILE_ELLIPSIS)) &collect_handles, NULL, SCM_EOL, hash_tab_);
}
IMPLEMENT_SMOBS (Scheme_hash_table);