/*
  music-output.cc --  implement Music_output

  source file of the GNU LilyPond music typesetter

  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/

#include "music-output.hh"

#include "ly-smobs.icc"

Music_output::Music_output ()
{
  smobify_self ();
}

void
Music_output::process ()
{
}

Music_output::~Music_output ()
{
}

void
Music_output::derived_mark () const
{
}

IMPLEMENT_SMOBS (Music_output);
IMPLEMENT_DEFAULT_EQUAL_P (Music_output);
IMPLEMENT_TYPE_P (Music_output, "ly:music-output?");

SCM
Music_output::mark_smob (SCM s)
{
  Music_output *sc = (Music_output *) SCM_CELL_WORD_1 (s);

  sc->derived_mark ();
  return SCM_EOL;
}

int
Music_output::print_smob (SCM s, SCM p, scm_print_state*)
{
  Music_output *sc = (Music_output *) SCM_CELL_WORD_1 (s);
  scm_puts ("#<", p);
  scm_puts (sc->class_name (), p);
  scm_puts (">", p);

  return 1;
}
