]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score-scheme.cc
Doc-hu: updated top of Learning
[lilypond.git] / lily / score-scheme.cc
index 2d546706502c81367caab29d3bf1546aadf04392..6785ae7e32b084e36339d20a1d7cc47cad5c31da 100644 (file)
@@ -1,9 +1,20 @@
 /*
-  score-scheme.cc -- implement Score bindings.
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2005--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  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
+  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/>.
 */
 
 #include "score.hh"
@@ -72,7 +83,8 @@ LY_DEFINE (ly_score_set_header_x, "ly:score-set-header!",
                   "module");
   
   Score *sc = unsmob_score (score);
-  return sc->get_header ();
+  sc->set_header (module);
+  return SCM_UNSPECIFIED;
 }