diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-11-20 19:25:49 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-01-14 11:01:58 +0100 |
commit | a9f1dd7ee001b645b81ad67217b582e51a44d545 (patch) | |
tree | 770fe9332fbc10ca1806e377a2fa70bc4b05be82 /tests/ptimer-test.h | |
parent | 00ca24ff9e5fc3c6ae608226908e6864ad8193a8 (diff) | |
download | qemu-a9f1dd7ee001b645b81ad67217b582e51a44d545.zip qemu-a9f1dd7ee001b645b81ad67217b582e51a44d545.tar.gz qemu-a9f1dd7ee001b645b81ad67217b582e51a44d545.tar.bz2 |
qapi: Proper intermediate representation for modules
Modules are represented only by their names so far. Introduce class
QAPISchemaModule. So far, it merely wraps the name. The next patch
will put it to more interesting use.
Once again, arrays spice up the patch a bit. For any other type,
@info points to the definition, which lets us map from @info to
module. For arrays, there is no definition, and @info points to the
first use instead. We have to use the element type's module instead,
which is only available after .check().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191120182551.23795-5-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/ptimer-test.h')
0 files changed, 0 insertions, 0 deletions