]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/pitch.hh
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / include / pitch.hh
index cab0c5092202a2b46f4b2b9cc2c96a89c66039c7..91c527455712cb4f6a1f388921d1328fc23d7530 100644 (file)
@@ -52,8 +52,7 @@ public:
   int get_notename () const;
   Rational get_alteration () const;
 
-  Pitch (int octave, int notename, Rational accidental);
-  Pitch (int octave, int notename);
+  Pitch (int octave, int notename, Rational accidental = 0);
   Pitch ();
 
   Pitch transposed (Pitch) const;
@@ -99,7 +98,6 @@ extern Rational DOUBLE_SHARP_ALTERATION;
 
 SCM ly_pitch_diff (SCM pitch, SCM root);
 SCM ly_pitch_transpose (SCM p, SCM delta);
-DECLARE_UNSMOB (Pitch, pitch);
 
 INSTANTIATE_COMPARE (Pitch, Pitch::compare);