]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/musical-pitch.hh
release: 1.3.38
[lilypond.git] / lily / include / musical-pitch.hh
index 7bc94b499f17562670dd47232c3d7c0f1f04cec1..1c691712da09a8d09b8712844798e83d6394470c 100644 (file)
@@ -23,6 +23,7 @@
 struct Musical_pitch : public Input
 {
   Musical_pitch (int notename=0, int accidental=0, int octave=0);
+  Musical_pitch (SCM);
 
   /// 0 is c, 6 is b
   int notename_i_;
@@ -42,11 +43,9 @@ struct Musical_pitch : public Input
   void down_to (int);
   String str () const;
   void print () const;
+  SCM to_scm () const;
 };
 
-SCM to_scm (Musical_pitch p);
-Musical_pitch scm_to (SCM s, Musical_pitch* p);
-
 #include "compare.hh"
 INSTANTIATE_COMPARE(Musical_pitch, Musical_pitch::compare);