X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpitch.cc;h=e34562fecc5571fe83ab21b5c3b5df677ffb36d9;hb=584dcbb70c4501a687c0ddb80bf2607d85db21f3;hp=4c5cb79e37620dfd4f347adc36c98b8f4888ebcb;hpb=90d3233da87b372e02690978f89b2add3863fba6;p=lilypond.git diff --git a/lily/pitch.cc b/lily/pitch.cc index 4c5cb79e37..e34562fecc 100644 --- a/lily/pitch.cc +++ b/lily/pitch.cc @@ -26,8 +26,6 @@ #include -ADD_SMOB_INIT (Pitch); - Pitch::Pitch (int o, int n, Rational a) { notename_ = n; @@ -223,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;