X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fmusic-output.cc;h=d0c08a118841d732269160cc98ed8eeb2995a360;hb=5b2267a97cfb085c4492e2954c0b9eec36fc11f8;hp=cd5d762ae1217eb1482ac759d9e4b9219b912249;hpb=cfbe7661413b152a10293f3da7fb412e325254f9;p=lilypond.git diff --git a/lily/music-output.cc b/lily/music-output.cc index cd5d762ae1..d0c08a1188 100644 --- a/lily/music-output.cc +++ b/lily/music-output.cc @@ -1,15 +1,24 @@ /* - music-output.cc -- implement Music_output + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2014 Han-Wen Nienhuys - (c) 2005 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 + 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 . */ #include "music-output.hh" -#include "ly-smobs.icc" -#include "virtual-methods.hh" Music_output::Music_output () { @@ -30,9 +39,7 @@ Music_output::derived_mark () const { } -IMPLEMENT_SMOBS (Music_output); -IMPLEMENT_DEFAULT_EQUAL_P (Music_output); -IMPLEMENT_TYPE_P (Music_output, "ly:music-output?"); +const char Music_output::type_p_name_[] = "ly:music-output?"; SCM Music_output::mark_smob (SCM s) @@ -44,7 +51,7 @@ Music_output::mark_smob (SCM s) } int -Music_output::print_smob (SCM s, SCM p, scm_print_state*) +Music_output::print_smob (SCM s, SCM p, scm_print_state *) { Music_output *sc = (Music_output *) SCM_CELL_WORD_1 (s); scm_puts ("#<", p);