-void Listener::listen (SCM ev) const {
- (type_->listen_callback) (target_, ev);
-}
-
-SCM
-Listener::mark_smob (SCM sm)
-{
- Listener *me = (Listener *) SCM_CELL_WORD_1 (sm);
- if (me->type_)
- (me->type_->mark_callback) (me->target_);
- return SCM_EOL;
-}
-
-int
-Listener::print_smob (SCM, SCM p, scm_print_state*)
-{
- scm_puts ("#<Listener>", p);
- return 1;
-}
-
-SCM
-Listener::equal_p (SCM a, SCM b)
-{
- Listener *l1 = unsmob_listener (a);
- Listener *l2 = unsmob_listener (b);
+ You should have received a copy of the GNU General Public License
+ along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
+*/