Link_array<Grob> stems=
Pointer_group_interface__extract_grobs (me, (Grob*)0, "stems");
- for (int i=0; i <stems.size (); i++)
+ for (int i=0; i < stems.size (); i++)
do {
Grob *s = stems[i];
Direction sd = get_grob_direction (s);
/* If the score is empty, generate no output. Should we
do titling? */
- if (ly_c_pair_p (systems))
+ if (SCM_NFALSEP(scm_vector_p (systems)))
{
Score_lines sc;
sc.lines_ = systems;
#include "score.hh"
#include "warn.hh"
-/* TODO: junkme. */
Score::Score ()
: Input ()
{
scm_remember_upto_here_1 (scaled_bookdef);
}
-/* PAPERBOOK should be scaled already. */
+/*
+Format score, return systems. OUTNAME is still passed to create a midi
+file.
+
+PAPERBOOK should be scaled already.
+
+*/
SCM
Score::book_rendering (String outname,
Output_def *paperbook,
"Return @var{score_smob} encapsulated in a Book object. Set "
"@var{header} as book level header.")
{
- SCM_ASSERT_TYPE (unsmob_score (score_smob), score_smob, SCM_ARG1, __FUNCTION__, "score_smob");
+ SCM_ASSERT_TYPE (unsmob_score (score_smob), score_smob,
+ SCM_ARG1, __FUNCTION__, "score_smob");
Score *score = unsmob_score (score_smob);
Book *book = new Book;