X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Foutput-def.cc;h=e277a00534513f8cddb7460da4b6afc86bd954bc;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=af407fb70ac08465f87757fde59b59b2936db0de;hpb=e0af94bb8939bc6f4998db6294010baa77139092;p=lilypond.git
diff --git a/lily/output-def.cc b/lily/output-def.cc
index af407fb70a..e277a00534 100644
--- a/lily/output-def.cc
+++ b/lily/output-def.cc
@@ -17,13 +17,12 @@
along with LilyPond. If not, see .
*/
-#include "output-def.hh"
-
#include "context-def.hh"
#include "file-path.hh"
#include "global-context.hh"
#include "international.hh"
#include "interval.hh"
+#include "ly-module.hh"
#include "main.hh"
#include "output-def.hh"
#include "scm-hash.hh"
@@ -63,7 +62,7 @@ Output_def::~Output_def ()
SCM
-Output_def::mark_smob ()
+Output_def::mark_smob () const
{
/* FIXME: why is this necessary?
all paper_ should be protected by themselves. */
@@ -76,7 +75,7 @@ Output_def::mark_smob ()
void
assign_context_def (Output_def * m, SCM transdef)
{
- Context_def *tp = Context_def::unsmob (transdef);
+ Context_def *tp = unsmob (transdef);
assert (tp);
if (tp)
@@ -90,12 +89,12 @@ assign_context_def (Output_def * m, SCM transdef)
SCM
find_context_def (Output_def const *m, SCM name)
{
- Context_def *cd = Context_def::unsmob (m->lookup_variable (name));
+ Context_def *cd = unsmob (m->lookup_variable (name));
return cd ? cd->self_scm () : SCM_EOL;
}
int
-Output_def::print_smob (SCM p, scm_print_state *)
+Output_def::print_smob (SCM p, scm_print_state *) const
{
scm_puts ("#< ", p);
scm_puts (class_name (), p);