X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpitch.cc;h=9e46bba70e6ff1d2360a66292427f312b4b5f5c8;hb=fb2041257a9f00d4dbfab1766beefc0ef1425ea4;hp=94c46a2cdb76280da2b1bba33c14730d387a688d;hpb=8cd6c7945283badb27640b3a0020808ace14a27a;p=lilypond.git diff --git a/lily/pitch.cc b/lily/pitch.cc index 94c46a2cdb..9e46bba70e 100644 --- a/lily/pitch.cc +++ b/lily/pitch.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1998--2014 Han-Wen Nienhuys + Copyright (C) 1998--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 @@ -218,16 +218,16 @@ Pitch::down_to (int notename) notename_ = notename; } -const char Pitch::type_p_name_[] = "ly:pitch?"; +const char * const Pitch::type_p_name_ = "ly:pitch?"; SCM -Pitch::mark_smob () +Pitch::mark_smob () const { return scale_->self_scm (); } int -Pitch::print_smob (SCM port, scm_print_state *) +Pitch::print_smob (SCM port, scm_print_state *) const { scm_puts ("# (p1); + Pitch *b = unsmob (p2); if (compare (*a, *b) < 0) return SCM_BOOL_T;