]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/ly-modules.hh
small cleanups.
[lilypond.git] / lily / include / ly-modules.hh
index a96d0a13b0f49ae890e0abd948e73e7c447bcc5c..30a501b5bc5f3f68021f96d4548ab8b8eb5b37b6 100644 (file)
 #ifndef LY_MODULES_HH
 #define LY_MODULES_HH
 
+#include "lily-guile.hh"
+
 SCM ly_make_anonymous_module ();
 void ly_copy_module_variables (SCM dest, SCM src);
 SCM ly_module_to_alist (SCM mod);
 SCM ly_module_lookup (SCM module, SCM sym);
 SCM ly_module_symbols (SCM mod);
 void  ly_reexport_module (SCM mod);
+inline bool ly_module_p (SCM x) { return SCM_MODULEP(x); }
 
 #endif /* LY_MODULES_HH */