]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/global-context.cc
Fix #268.
[lilypond.git] / lily / global-context.cc
index 095f1f46a74a3207df04785cfcb722e70e602099..f31a1283afa7fe1e4862736bf07630d503ff4172 100644 (file)
@@ -14,7 +14,6 @@ using namespace std;
 #include "context-def.hh"
 #include "dispatcher.hh"
 #include "international.hh"
-#include "lilypond-key.hh"
 #include "music-iterator.hh"
 #include "music.hh"
 #include "output-def.hh"
@@ -197,3 +196,9 @@ Global_context::get_default_interpreter ()
   else
     return Context::get_default_interpreter ();
 }
+
+Global_context *
+unsmob_global_context (SCM x)
+{
+  return dynamic_cast<Global_context *> (unsmob_context (x));
+}