X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fperformance-scheme.cc;h=9ab087a2c3bf22e14682c59d46481a6cf0e442b6;hb=e54464202c43ce23cd5667a2e42aca0905efb44e;hp=cc0cfcd252d0700c026d44a00e7282b771b599ae;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/performance-scheme.cc b/lily/performance-scheme.cc index cc0cfcd252..9ab087a2c3 100644 --- a/lily/performance-scheme.cc +++ b/lily/performance-scheme.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2009 Han-Wen Nienhuys + Copyright (C) 2005--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,13 +20,13 @@ #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)); + unsmob (performance)->write_output (ly_scm2string (filename)); return SCM_UNSPECIFIED; }