[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] docs/qapi-code-gen.txt: Fix simple union introspect
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH] docs/qapi-code-gen.txt: Fix simple union introspection example |
Date: |
Thu, 14 Jan 2016 16:13:25 +0100 |
The implicit tag member is named "type", not "kind". Screwed up in
commit 39a1815.
Signed-off-by: Markus Armbruster <address@hidden>
---
docs/qapi-code-gen.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
index 128f074..b11fa68 100644
--- a/docs/qapi-code-gen.txt
+++ b/docs/qapi-code-gen.txt
@@ -655,7 +655,7 @@ Union types
{ "name": "BlockdevOptions", "meta-type": "object",
"members": [
- { "name": "kind", "type": "BlockdevOptionsKind" } ],
+ { "name": "type", "type": "BlockdevOptionsKind" } ],
"tag": "type",
"variants": [
{ "case": "file", "type": ":obj-FileOptions-wrapper" },
--
2.4.3
- [Qemu-devel] [PATCH] docs/qapi-code-gen.txt: Fix simple union introspection example,
Markus Armbruster <=