]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performance-scheme.cc
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / performance-scheme.cc
index d8dd325346e191bf647e85fed611a1e5039eaa93..3f45829882b8b174e73f99bb077973333800850e 100644 (file)
@@ -3,27 +3,21 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
-
+  (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
-
 #include "performance.hh"
 
-
 LY_DEFINE (ly_performance_write, "ly:performance-write",
-          2,0,0, (SCM performance, SCM filename),
+          2, 0, 0, (SCM performance, SCM filename),
           "Write @var{performance} to @var{filename}")
-
 {
-  Performance * perf  = dynamic_cast<Performance*> (unsmob_music_output (performance));
+  Performance *perf = dynamic_cast<Performance *> (unsmob_music_output (performance));
 
-  SCM_ASSERT_TYPE(perf, performance, SCM_ARG1, __FUNCTION__, "Performance");
-  SCM_ASSERT_TYPE(scm_is_string (filename), filename, SCM_ARG2, __FUNCTION__, "file name");
+  SCM_ASSERT_TYPE (perf, performance, SCM_ARG1, __FUNCTION__, "Performance");
+  SCM_ASSERT_TYPE (scm_is_string (filename), filename, SCM_ARG2, __FUNCTION__, "file name");
 
   perf->write_output (ly_scm2string (filename));
   return SCM_UNSPECIFIED;
 }
 
-
-