]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performance-scheme.cc
Run grand replace for 2015.
[lilypond.git] / lily / performance-scheme.cc
index 33402c0a419dbd0f938bb0492461f32017696e8c..ed42635756b76e6325f3ad2d7dd16de487eb556a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2015 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
 #include "performance.hh"
 
 LY_DEFINE (ly_performance_write, "ly:performance-write",
-          2, 0, 0, (SCM performance, SCM filename),
-          "Write @var{performance} to @var{filename}.")
+           2, 0, 0, (SCM performance, SCM filename),
+           "Write @var{performance} to @var{filename}.")
 {
-  LY_ASSERT_TYPE (unsmob_performance, performance, 1);
+  LY_ASSERT_SMOB (Performance, performance, 1);
   LY_ASSERT_TYPE (scm_is_string, filename, 2);
 
-  unsmob_performance (performance)->write_output (ly_scm2string (filename));
+  Performance::unsmob (performance)->write_output (ly_scm2string (filename));
   return SCM_UNSPECIFIED;
 }