]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/global-context-scheme.cc
Run grand replace for 2015.
[lilypond.git] / lily / global-context-scheme.cc
index 7af3e4ed57dd2631f840753b675c30999ff3504d..3dc5afa3ada95dcf4fca77e009f7349d6ad93baf 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ LY_DEFINE (ly_format_output, "ly:format-output",
 {
   Global_context *g = dynamic_cast<Global_context *> (Context::unsmob (context));
 
-  LY_ASSERT_TYPE (Global_context::unsmob, context, 1);
+  LY_ASSERT_SMOB (Global_context, context, 1);
 
   SCM output = g->get_output ();
   progress_indication ("\n");
@@ -53,7 +53,7 @@ LY_DEFINE (ly_make_global_translator, "ly:make-global-translator",
            " @var{global}.  The translator group is returned.")
 {
   Global_context *g = dynamic_cast<Global_context *> (Context::unsmob (global));
-  LY_ASSERT_TYPE (Global_context::unsmob, global, 1);
+  LY_ASSERT_SMOB (Global_context, global, 1);
 
   Translator_group *tg = new Translator_group ();
   tg->connect_to_context (g);
@@ -87,7 +87,7 @@ LY_DEFINE (ly_interpret_music_expression, "ly:interpret-music-expression",
            " @var{ctx}.  The context is returned in its final state.")
 {
   LY_ASSERT_SMOB (Music, mus, 1);
-  LY_ASSERT_TYPE (Global_context::unsmob, ctx, 2);
+  LY_ASSERT_SMOB (Global_context, ctx, 2);
 
   Music *music = Music::unsmob (mus);
   if (!music)