X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpitch.cc;h=e34562fecc5571fe83ab21b5c3b5df677ffb36d9;hb=6afbd8ef9bdea4f7466e5f4fb703d3285bdfe143;hp=94c46a2cdb76280da2b1bba33c14730d387a688d;hpb=8cd6c7945283badb27640b3a0020808ace14a27a;p=lilypond.git diff --git a/lily/pitch.cc b/lily/pitch.cc index 94c46a2cdb..e34562fecc 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 @@ -221,13 +221,13 @@ Pitch::down_to (int notename) const char 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;