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>
9 #include "paper-score.hh"
11 LY_DEFINE (ly_paper_score_paper_systems
, "ly:paper-score-paper-systems",
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 ();