Compile fix.
[lilypond.git] / lily / music-output.cc
blobee8cbc1522f5a9b882f3323b3d3a961023467981
1 /*
2 music-output.cc -- implement Music_output
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "music-output.hh"
11 #include "ly-smobs.icc"
13 Music_output::Music_output ()
15 smobify_self ();
18 void
19 Music_output::process ()
23 Music_output::~Music_output ()
27 void
28 Music_output::derived_mark () const
32 IMPLEMENT_SMOBS (Music_output);
33 IMPLEMENT_DEFAULT_EQUAL_P (Music_output);
34 IMPLEMENT_TYPE_P (Music_output, "ly:music-output?");
36 SCM
37 Music_output::mark_smob (SCM s)
39 Music_output *sc = (Music_output *) SCM_CELL_WORD_1 (s);
41 sc->derived_mark ();
42 return SCM_EOL;
45 int
46 Music_output::print_smob (SCM s, SCM p, scm_print_state*)
48 Music_output *sc = (Music_output *) SCM_CELL_WORD_1 (s);
49 scm_puts ("#<", p);
50 scm_puts (sc->class_name (), p);
51 scm_puts (">", p);
53 return 1;