Listener::Listener (Listener const &other)
{
target_ = other.target_;
- type_ = other.type_;
+ type_ = other.type_;
}
-void Listener::listen (SCM ev) const {
+void Listener::listen (SCM ev) const
+{
(type_->listen_callback) (target_, ev);
}
}
int
-Listener::print_smob (SCM, SCM p, scm_print_state*)
+Listener::print_smob (SCM, SCM p, scm_print_state *)
{
scm_puts ("#<Listener>", p);
return 1;