]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-column-scheme.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / note-column-scheme.cc
index e8b88af1e99af737ee4213c2b225c9ad34ae26fc..c665b70548ac4f163d132ba73e21a7a545abbd99 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010 Nicolas Sceaux <nicolas.sceaux@free.fr>
+  Copyright (C) 2010--2015 Nicolas Sceaux <nicolas.sceaux@free.fr>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 
   LilyPond is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "note-column.hh"
 #include "grob.hh"
 
 LY_DEFINE (ly_note_column_accidentals, "ly:note-column-accidentals",
-          1, 0, 0, (SCM note_column),
-          "Return the @code{AccidentalPlacement} grob from @var{note_column}"
-          "if any, or @code{SCM_EOL} otherwise.")
+           1, 0, 0, (SCM note_column),
+           "Return the @code{AccidentalPlacement} grob from @var{note-column}"
+           " if any, or @code{SCM_EOL} otherwise.")
 {
-  Grob *grob = unsmob_grob (note_column);
+  Grob *grob = unsmob<Grob> (note_column);
   LY_ASSERT_SMOB (Grob, note_column, 1);
   Grob *acc = Note_column::accidentals (grob);
   if (acc)
@@ -35,11 +35,11 @@ LY_DEFINE (ly_note_column_accidentals, "ly:note-column-accidentals",
 }
 
 LY_DEFINE (ly_note_column_dot_column, "ly:note-column-dot-column",
-          1, 0, 0, (SCM note_column),
-          "Return the @code{DotColumn} grob from @var{note_column}"
-          "if any, or @code{SCM_EOL} otherwise.")
+           1, 0, 0, (SCM note_column),
+           "Return the @code{DotColumn} grob from @var{note-column}"
+           " if any, or @code{SCM_EOL} otherwise.")
 {
-  Grob *grob = unsmob_grob (note_column);
+  Grob *grob = unsmob<Grob> (note_column);
   LY_ASSERT_SMOB (Grob, note_column, 1);
   Grob *dot_column = Note_column::dot_column (grob);
   if (dot_column)