]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lilypond-key.cc
* buildscripts/analyse-cxx-log.py: new file. Read compile log to
[lilypond.git] / lily / lilypond-key.cc
index af4a521880688684769b3cf576a4f37ca6080084..d9833307afe1679caed24e835661f766e7c49f1d 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "lilypond-key.hh"
@@ -29,7 +29,7 @@ Lilypond_grob_key::derived_mark () const
 int
 Lilypond_grob_key::do_compare (Object_key const *key) const
 {
-  Lilypond_grob_key const *other = dynamic_cast < Lilypond_grob_key const *> (key);
+  Lilypond_grob_key const *other = dynamic_cast<Lilypond_grob_key const *> (key);
   int c;
 
   c = context_->compare (other->context_);
@@ -62,7 +62,7 @@ Lilypond_grob_key::as_scheme () const
 {
   return scm_list_4 (context_ ? context_->self_scm () : SCM_BOOL_F,
                     creation_moment_.smobbed_copy (),
-                    scm_makfrom0str (grob_name_.to_str0 ()),
+                    scm_makfrom0str (grob_name_.c_str ()),
                     scm_from_int (disambiguation_count_));
 }
 
@@ -101,7 +101,7 @@ int
 Lilypond_context_key::do_compare (Object_key const *key) const
 {
   Lilypond_context_key const *other
-    = dynamic_cast < Lilypond_context_key const *> (key);
+    = dynamic_cast<Lilypond_context_key const *> (key);
 
   int c;
   if (parent_context_ && other->parent_context_)
@@ -145,8 +145,8 @@ Lilypond_context_key::as_scheme () const
 {
   return scm_list_5 (parent_context_ ? parent_context_->self_scm () : SCM_BOOL_F,
                     start_moment_.smobbed_copy (),
-                    scm_makfrom0str (context_name_.to_str0 ()),
-                    scm_makfrom0str (id_.to_str0 ()),
+                    scm_makfrom0str (context_name_.c_str ()),
+                    scm_makfrom0str (id_.c_str ()),
                     scm_from_int (disambiguation_count_));
 }
 
@@ -188,7 +188,7 @@ int
 Lilypond_general_key::do_compare (Object_key const *key)const
 {
   Lilypond_general_key const *other
-    = dynamic_cast < Lilypond_general_key const *> (key);
+    = dynamic_cast<Lilypond_general_key const *> (key);
 
   if (parent_ && other->parent_)
     parent_->compare (other->parent_);
@@ -212,7 +212,7 @@ SCM
 Lilypond_general_key::as_scheme () const
 {
   return scm_list_3 (parent_ ? parent_->self_scm () : SCM_BOOL_F,
-                    scm_makfrom0str (name_.to_str0 ()),
+                    scm_makfrom0str (name_.c_str ()),
                     scm_from_int (disambiguation_count_));
 }