X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Flistener.hh;h=51ad5db821d30885303cb72e9ef787b12720efb9;hb=5bbfc22fce036b9b69df5e420de93e11da23c05e;hp=fb69922493ff6877c5c0388e8491346cac56d493;hpb=a4b026479ad44908e2c680b95d4ae47fcdedc06f;p=lilypond.git diff --git a/lily/include/listener.hh b/lily/include/listener.hh index fb69922493..51ad5db821 100644 --- a/lily/include/listener.hh +++ b/lily/include/listener.hh @@ -82,13 +82,13 @@ public: void listen (SCM ev) const; bool operator == (Listener const &other) const - { return type_ == other.type_ - && (*type_->equal_callback)((void *) target_, (void *) other.target_ ); + { + return type_ == other.type_ + && (*type_->equal_callback) ((void *) target_, (void *) other.target_); } DECLARE_SIMPLE_SMOBS (Listener); }; -DECLARE_UNSMOB (Listener, listener); #define IMPLEMENT_LISTENER(cl, method) \ void \ @@ -124,7 +124,7 @@ cl :: method ## _listener () const \ inline void name (SCM); \ static void name ## _callback (void *self, SCM ev); \ static void name ## _mark (void *self); \ - static bool name ## _is_equal (void *a, void *b); \ + static bool name ## _is_equal (void *a, void *b); \ Listener name ## _listener () const #endif /* LISTENER_HH */