]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/simple-music-iterator.hh
* lily/lily-guile.cc (robust_scm2double): new function. Use throughout.
[lilypond.git] / lily / include / simple-music-iterator.hh
index c969a3ba953025997124644d2aa6e8704f79d9c9..fa0e09c614b6d313d9201e86afa2ff383a74bc70 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  2000--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  */
 
 #ifndef SIMPLE_MUSIC_ITERATOR_HH
@@ -23,12 +23,13 @@ protected:
   Moment last_processed_mom_;
 public:
   VIRTUAL_COPY_CONS (Music_iterator);
-  static SCM constructor_cxx_function
+  DECLARE_SCHEME_CALLBACK(constructor, ())
   Simple_music_iterator ();
   Simple_music_iterator (Simple_music_iterator const &);
   virtual void process (Moment);
   virtual bool ok ()const;
   virtual Moment pending_moment ()const;
+
   virtual void skip (Moment);
 };