]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-score-scheme.cc
Web-ja: update introduction
[lilypond.git] / lily / paper-score-scheme.cc
index 713393cca7643a61b28d342139808deacd236e5c..e2909e284433ebbccc10f5428e3f3c50e7beb91a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2011 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
@@ -25,8 +25,8 @@ LY_DEFINE (ly_paper_score_paper_systems, "ly:paper-score-paper-systems",
            "Return vector of @code{paper_system} objects from"
            " @var{paper-score}.")
 {
-  LY_ASSERT_TYPE (unsmob_paper_score, paper_score, 1);
+  LY_ASSERT_SMOB (Paper_score, paper_score, 1);
 
-  Paper_score *pscore = dynamic_cast<Paper_score *> (unsmob_music_output (paper_score));
+  Paper_score *pscore = unsmob<Paper_score> (paper_score);
   return pscore->get_paper_systems ();
 }