X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Foutput-def.cc;h=e277a00534513f8cddb7460da4b6afc86bd954bc;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=af407fb70ac08465f87757fde59b59b2936db0de;hpb=658c44d32fe6406c472152875346d63211c7bae2;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);