]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-score-scheme.cc
Release: bump Welcome versions.
[lilypond.git] / lily / paper-score-scheme.cc
index 033f1b6477af382b10862a43236c6f1c55681cfc..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
 #include "paper-score.hh"
 
 LY_DEFINE (ly_paper_score_paper_systems, "ly:paper-score-paper-systems",
-          1, 0, 0,
-          (SCM paper_score),
-          "Return vector of @code{paper_system} objects from"
-          " @var{paper-score}.")
+           1, 0, 0,
+           (SCM paper_score),
+           "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 ();
 }