/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2004--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2004--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* Print a textual represenation of the smob to a given port. */
int
-Music_function::print_smob (SCM b, SCM port, scm_print_state *)
+Music_function::print_smob (SCM port, scm_print_state *)
{
scm_puts ("#<Music function ", port);
- scm_write (Music_function::unsmob (b)->get_function (), port);
+ scm_write (get_function (), port);
scm_puts (">", port);
/* Non-zero means success. */
return 1;
}
-
-SCM
-Music_function::mark_smob ()
-{
- ASSERT_LIVE_IS_ALLOWED (self_scm ());
- return Smob2<Music_function>::mark_smob ();
-}