X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fperformance-scheme.cc;h=ed42635756b76e6325f3ad2d7dd16de487eb556a;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=affc4f04cfdbd999de8423336b55bafd425c7dc6;hpb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;p=lilypond.git diff --git a/lily/performance-scheme.cc b/lily/performance-scheme.cc index affc4f04cf..ed42635756 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--2012 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 @@ -23,10 +23,10 @@ LY_DEFINE (ly_performance_write, "ly:performance-write", 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; }