+/*
+ paper-score-scheme.cc -- implement Paper_score bindings
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+*/
+
+#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 Paper_system objects from @var{paper-score}.")
+{
+ Paper_score *pscore = dynamic_cast<Paper_score *> (unsmob_music_output (paper_score));
+ SCM_ASSERT_TYPE (pscore, paper_score, SCM_ARG1, __FUNCTION__, "Paper score (Music output)");
+
+ return pscore->get_paper_systems ();
+}