]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-iterator.hh
Imported Upstream version 2.16.0
[lilypond.git] / lily / include / music-iterator.hh
index 863f87f31ba441a395d29ab22a86c199c0d47614..a34e3009037120f66baeeda9104d27a753ffe43a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2012 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
@@ -64,7 +64,7 @@ protected:
   Moment music_length_;
   Moment start_mom_;
 
-  DECLARE_CLASSNAME(Music_iterator);
+  DECLARE_CLASSNAME (Music_iterator);
   DECLARE_SMOBS (Music_iterator);
   Music_iterator (Music_iterator const &);
 
@@ -102,15 +102,15 @@ private:
 
 bool is_child_context (Context *me, Context *child);
 
-#define IMPLEMENT_CTOR_CALLBACK(Class)                                 \
+#define IMPLEMENT_CTOR_CALLBACK(Class)                                  \
   LY_DEFINE_MEMBER_FUNCTION (Class, constructor, \
-                            mangle_cxx_identifier (string (#Class) + "::constructor").c_str(), \
-                            0, 0, 0,                                   \
-                            (),                                        \
-                            "")                                        \
-  {                                                                    \
-    Class *c = (new Class);                                            \
-    return c->unprotect ();                                            \
+                             mangle_cxx_identifier (string (#Class) + "::constructor").c_str(), \
+                             0, 0, 0,                                   \
+                             (),                                        \
+                             "")                                        \
+  {                                                                     \
+    Class *c = (new Class);                                             \
+    return c->unprotect ();                                             \
   }
 
 DECLARE_UNSMOB (Music_iterator, iterator);