]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/grob-array.hh
(parse_symbol_list): Bugfix.
[lilypond.git] / lily / include / grob-array.hh
index f0f6b9072c5e3e7209a043bb78a4c7fdd4b90312..67f95ac20170f3e9c15aeb403c96314996f01c12 100644 (file)
@@ -4,7 +4,6 @@
   source file of the GNU LilyPond music typesetter
 
   (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
-
 */
 
 #ifndef GROB_ARRAY_HH
@@ -18,8 +17,8 @@ class Grob_array
 {
   Link_array<Grob> grobs_;
   bool ordered_;
-  
-  DECLARE_SIMPLE_SMOBS(Grob_array,);
+
+  DECLARE_SIMPLE_SMOBS (Grob_array,);
 
   Grob_array ();
 public:
@@ -27,10 +26,10 @@ public:
   void set_ordered (bool b) { ordered_ = b; }
   Item *item (int i);
   Spanner *spanner (int i);
-  Grob * grob (int i) { return grobs_.elem (i); }
-  int size () const { return grobs_.size(); }
+  Grob *grob (int i) { return grobs_.elem (i); }
+  int size () const { return grobs_.size (); }
   bool is_empty () const;
-  void clear ();  
+  void clear ();
   void add (Grob *x) { grobs_.push (x); }
   void set_array (Link_array<Grob> const &src);
   Link_array<Grob> &array_reference ();
@@ -43,6 +42,5 @@ DECLARE_UNSMOB (Grob_array, grob_array);
 Link_array<Grob> const &ly_scm2link_array (SCM x);
 SCM grob_list_to_grob_array (SCM lst);
 
-
 #endif /* GROB_ARRAY_HH */