]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/listener.hh
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / include / listener.hh
index fb69922493ff6877c5c0388e8491346cac56d493..51ad5db821d30885303cb72e9ef787b12720efb9 100644 (file)
@@ -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 */