prevents #<undefined> leaking into GUILE-userspace.
+2005-04-18 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/performance.cc (process): return #f iso. #<undefined>. This
+ prevents #<undefined> leaking into GUILE-userspace.
+
2005-04-17 Han-Wen Nienhuys <hanwen@xs4all.nl>
* config.hh.in: remove HAVE_PANGO_FC_FONT_MAP_ADD_DECODER_FIND_FUNC
* framework-eps.scm: code added so that a macro \betweenLilyPondSystem
with one parameter can be defined in a LaTeX file when processed
by lilypond-book this will be evaluated between the systems of
- a muti-system score. The parameter is the number of systems processed.
+ a multi-system score. The parameter is the number of systems processed.
2005-04-16 Jan Nieuwenhuizen <janneke@gnu.org>
Music_output *output = g->get_output ();
progress_indication ("\n");
+
/* ugh, midi still wants outname */
return output->process (ly_scm2string (outname));
}
class Music_output
{
public:
- virtual SCM process (String)
- {
- return SCM_EOL;
- }
- virtual ~Music_output () {}
+ virtual SCM process (String);
+ virtual ~Music_output ();
};
#endif /* MUSIC_OUTPUT_HH */
SCM process (String);
Link_array<Audio_staff> audio_staffs_;
- Cons<Audio_element> *audio_elem_p_list_;
+ Cons<Audio_element> *audio_element_list_;
Output_def *midi_;
};
--- /dev/null
+/*
+ music-output.cc -- implement Music_output
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+*/
+
+#include "music-output.hh"
+
+/*
+ Just stubs.
+ */
+SCM
+Music_output::process ()
+{
+ return SCM_EOL;
+}
+
+Music_output::~Music_output ()
+{
+
+}
+
Performance::Performance ()
{
midi_ = 0;
- audio_elem_p_list_ = 0;
+ audio_element_list_ = 0;
}
Performance::~Performance ()
{
- delete audio_elem_p_list_;
+ delete audio_element_list_;
}
void
{
audio_staffs_.push (s);
}
- audio_elem_p_list_ = new Killing_cons<Audio_element> (p, audio_elem_p_list_);
+ audio_element_list_ = new Killing_cons<Audio_element> (p, audio_element_list_);
}
SCM
output (midi_stream);
progress_indication ("\n");
- return SCM_UNDEFINED;
+ return SCM_BOOL_F;
}