2 ly-module.hh -- declare module related helper functions
4 source file of the GNU LilyPond music typesetter
6 (c) 2002--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
11 #include "lily-guile.hh"
13 SCM ly_make_anonymous_module (bool safe);
14 SCM ly_module_copy (SCM dest, SCM src);
15 SCM ly_module_2_alist (SCM mod);
16 SCM ly_module_lookup (SCM module, SCM sym);
17 SCM ly_modules_lookup (SCM modules, SCM sym, SCM);
18 SCM ly_module_symbols (SCM mod);
19 void ly_reexport_module (SCM mod);
20 inline bool ly_is_module (SCM x) { return SCM_MODULEP (x); }
21 SCM ly_clear_anonymous_modules ();
22 void clear_anonymous_modules ();
23 SCM ly_use_module (SCM mod, SCM used);
25 /* Ugh signature of scm_internal_hash_fold () is inaccurate. */
26 typedef SCM (*Hash_closure_function) (GUILE_ELLIPSIS);
28 #define MODULE_GC_KLUDGE
30 #endif /* LY_MODULE_HH */