X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpitch.cc;h=9e46bba70e6ff1d2360a66292427f312b4b5f5c8;hb=8522deaaf7844bcd4604ed61e6073d99feb1c518;hp=0fd75129476a7a1d889d751c504e290f22c30843;hpb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;p=lilypond.git diff --git a/lily/pitch.cc b/lily/pitch.cc index 0fd7512947..9e46bba70e 100644 --- a/lily/pitch.cc +++ b/lily/pitch.cc @@ -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;