2 lyric-combine-music.cc -- implement Lyric_combine_music
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 struct Lyric_combine_music
16 DECLARE_SCHEME_CALLBACK(length_callback, (SCM));
20 MAKE_SCHEME_CALLBACK(Lyric_combine_music, length_callback, 1);
22 Lyric_combine_music::length_callback (SCM m)
24 Music * me = unsmob_music (m);
25 Music *melody = unsmob_music (scm_car (me->get_property ("elements")));
26 return melody->get_length ().smobbed_copy ();