Use scalar instead of embedded_scm for context mod overrides.
[lilypond/mpolesky.git] / lily / paper-score-scheme.cc
blob6f26769f476cdb62d2b347f9b780af1a07092551
1 /*
2 paper-score-scheme.cc -- implement Paper_score bindings
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2009 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 ();