]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/include/global-context.hh (Context): take \score key upon init.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 14 Nov 2004 14:35:03 +0000 (14:35 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 14 Nov 2004 14:35:03 +0000 (14:35 +0000)
* lily/context.cc (Context): take key argument in ctor.
(create_context): new function

* lily/grob.cc (Grob): take key argument in ctor.

lily/grob.cc

index 541663d30fe093ab42a9e537929bd890871f3fc5..66a0caf8cd70ece636b0dafbfc1dd54a45a2f646 100644 (file)
@@ -673,6 +673,12 @@ ly_scm2grobs (SCM lst)
   return arr;
 }
 
+Object_key const *
+Grob::get_key () const
+{
+  return key_;
+}
+
 /** Return SCM list of Grob array A */
 SCM
 ly_grobs2scm (Link_array<Grob> a)