mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
cc973eeeb9
Another implementation option would be to put all the dictionaries in a single file and have a static global set of ids which works across all dictionaries and is initialized once at startup or so. That would also handle cross-file dictionary inheritance better. One problem that remains is the fake descriptor business. At the moment this does not allow interface types inside dictionaries. We could probably work around this by either refactoring code to make it possible to get the declType independently of the actual conversion template (whether because it lives in a separate function or because the conversion template generator knows to just return an empty string when the fake descriptor provirder is passed) or by figuring out a way to pass an actual descriptor provider to dictionary codegen.
9 lines
336 B
Plaintext
9 lines
336 B
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
dictionary GrandparentDict {
|
|
double someNum;
|
|
}; |