|
From: | Han-Wen Nienhuys |
Subject: | Re: make web fails |
Date: | Mon, 05 Jun 2006 00:33:43 +0200 |
User-agent: | Thunderbird 1.5.0.2 (X11/20060501) |
Erik Sandberg schreef:
On Sunday 04 June 2006 17:40, Han-Wen Nienhuys wrote:Erik Sandberg schreef:On Saturday 03 June 2006 14:39, Han-Wen Nienhuys wrote:Erik Sandberg schreef:I don't understand why you have to do the non-const initializations in get_music_list(). Isn'tthere a way to do that in construct_children, and leave the constness?It's just so that start/stop events only need to be created once (look at the initialisations of start_ and stop_). If you like, I can remove those members and use methods create_stop_event and create_start_event instead (still avoids code duplication, but is slightly less efficient).
construct_children is also only called once. You can init start_ and stop_ from there, and use those members in the get_music_list() function.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com
[Prev in Thread] | Current Thread | [Next in Thread] |