Bump version.
[lilypond.git] / lily / paper-score-scheme.cc
blobb973647fa250508f8a8223b37242a8f3f229c2d6
1 /*
2 paper-score-scheme.cc -- implement Paper_score bindings
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "paper-score.hh"
11 LY_DEFINE (ly_paper_score_paper_systems, "ly:paper-score-paper-systems",
12 1, 0, 0,
13 (SCM paper_score),
14 "Return vector of @code{paper_system} objects from"
15 " @var{paper-score}.")
17 LY_ASSERT_TYPE (unsmob_paper_score, paper_score, 1);
19 Paper_score *pscore = dynamic_cast<Paper_score *> (unsmob_music_output (paper_score));
20 return pscore->get_paper_systems ();