Support dictionaries in unions.

Fixes #11612.
This commit is contained in:
Ms2ger 2017-01-20 15:51:13 +01:00
parent 1f76aa6ef7
commit 6a6f339b29
3 changed files with 39 additions and 12 deletions

View file

@ -434,6 +434,7 @@ impl TestBindingMethods for TestBinding {
fn PassUnion6(&self, _: UnsignedLongOrBoolean) {}
fn PassUnion7(&self, _: StringSequenceOrUnsignedLong) {}
fn PassUnion8(&self, _: ByteStringSequenceOrLong) {}
fn PassUnion9(&self, _: UnionTypes::TestDictionaryOrLong) {}
fn PassUnionWithTypedef(&self, _: DocumentOrTestTypedef) {}
fn PassUnionWithTypedef2(&self, _: LongSequenceOrTestTypedef) {}
#[allow(unsafe_code)]