Re: [WebIDL] Including other IDL fragments

2009-01-27 Thread Anne van Kesteren
On Tue, 27 Jan 2009 12:34:56 +0100, Cameron McCormack wrote: [...] Does Web IDL need such a mechanism? Should it be up to the user of the IDL fragments to have all the relevant ones passed to the IDL processor in the right order? If there is enough data to determine the right order it see

[WebIDL] Including other IDL fragments

2009-01-27 Thread Cameron McCormack
Hi. In already-published DOM specs, the OMG IDL fragments use C-style preprocessor instructions to explicitly include any dependent IDL. For example, the DOM 3 Core IDL looks like this: #ifndef _DOM_IDL_ #define _DOM_IDL_ … module dom { … interface Node { … }; …