]> 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:41:17 +0000 (14:41 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 14 Nov 2004 14:41:17 +0000 (14:41 +0000)
* lily/context.cc (Context): take key argument in ctor.
(create_context): new function

* lily/lilypond-key.cc (do_compare): new file.

lily/lilypond-key.cc

index ecb339e0909c2b46765c0efdcbb372cb21cc80cd..0cb7652413c6699d0082ed9b8374d63b1ae9e5fe 100644 (file)
@@ -28,6 +28,7 @@ Lilypond_grob_key::derived_mark () const
   scm_gc_mark (context_->self_scm ());
 }
 
+// todo: reverse order of comparison for efficiency reasons.
 int
 Lilypond_grob_key::do_compare (Object_key const* key) const
 {