From: Han-Wen Nienhuys Date: Sun, 14 Nov 2004 14:41:17 +0000 (+0000) Subject: * lily/include/global-context.hh (Context): take \score key upon init. X-Git-Tag: release/2.5.14~565 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4415180779ee5ba2981a4cf1ead235d7126878a1;p=lilypond.git * lily/include/global-context.hh (Context): take \score key upon init. * lily/context.cc (Context): take key argument in ctor. (create_context): new function * lily/lilypond-key.cc (do_compare): new file. --- diff --git a/lily/lilypond-key.cc b/lily/lilypond-key.cc index ecb339e090..0cb7652413 100644 --- a/lily/lilypond-key.cc +++ b/lily/lilypond-key.cc @@ -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 {