]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/pitch.hh
* Documentation/user/refman.itely: Compile fix for \mark #'(music ...).
[lilypond.git] / lily / include / pitch.hh
index 25b576f4c0436fd1109fc3601e29a36544f60248..fca3791ee9d4eacd2d05779afecc92bc7803736d 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -58,26 +58,27 @@ public:
 
   static int compare (Pitch const&,Pitch const&);
   /// return large part of interval from central c
-  int steps() const;
+  int steps () const;
   /// return pitch from central c (in halfnotes)
-  int semitone_pitch() const; 
+  int semitone_pitch () const; 
   String str () const;
+  
 
-  static SCM transpose (SCM p, SCM delta);
 
   SCM smobbed_copy () const;
-  DECLARE_SCHEME_CALLBACK(less_p, (SCM a, SCM b));
-  DECLARE_SIMPLE_SMOBS(Pitch,);
+  DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
+  DECLARE_SIMPLE_SMOBS (Pitch,);
 
 
 };
-
-Pitch* unsmob_pitch (SCM);
+SCM ly_pitch_transpose (SCM p, SCM delta);
+DECLARE_UNSMOB(Pitch,pitch);
 
 #include "compare.hh"
-INSTANTIATE_COMPARE(Pitch, Pitch::compare);
+INSTANTIATE_COMPARE (Pitch, Pitch::compare);
 
 int compare (Array<Pitch>*, Array<Pitch>*);
+extern SCM pitch_less_proc;
 
 #endif /* MUSICAL_PITCH_HH */