]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-wrapper.cc
release: 1.0.15
[lilypond.git] / lily / music-wrapper.cc
index 72971abf50c40efc4bece48003a0e46c1ff768b5..1785b386d4d688d0520ef34c8c62db3b2205364b 100644 (file)
@@ -27,6 +27,8 @@ Music_wrapper::do_print () const
 {
   element_p_->print ();
 }
+
+
 void
 Music_wrapper::transpose (Musical_pitch p)
 {
@@ -42,8 +44,8 @@ Music_wrapper::Music_wrapper(Music*p)
 
 IMPLEMENT_IS_TYPE_B1 (Music_wrapper, Music);
 
-MInterval
-Music_wrapper::time_int () const
+Moment
+Music_wrapper::duration () const
 {
-  return element_p_->time_int ();
+  return element_p_->duration ();
 }