2006/5/14, Erik Sandberg <[EMAIL PROTECTED]>:
> > There's a problem with that: Context creation is triggered by stream
> > events, which tell which unique value to use for the new context. So
> > the unique value needs to be there before the context has been
> > created.
>
> I don't understand this argument.

What should be the value of the 'unique field of a CreateContext event?

When writing, the 'unique field to be written is determined by the file writer.

When reading, the field indicating the context where any event has to
go is as int. This int is mapped to a Context*  by a separate lookup
table.

As you noticed before, nobody looks at the unique field, which
suggests to me that it is superfluous.

--
Han-Wen Nienhuys
[EMAIL PROTECTED]
http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to