]> git.proxmox.com Git - qemu.git/commit
libqtest: Convert macros to functions and clean up documentation
authorAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 21:44:01 +0000 (22:44 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 18 Feb 2013 14:39:09 +0000 (08:39 -0600)
commit6acf801de5a6e299c02ab3efe3e0dcd75ae678e0
treeef0118eb3ae69679455a7a496fea40170db3a32e
parent3c3adde005ec929d7d581d495d9a0bb223e6e055
libqtest: Convert macros to functions and clean up documentation

libqtest.h provides a number of shortcut macros to avoid tests feeding
it the QTestState they operate on. Most of these can easily be turned
into static inline functions, so let's do that for clarity.
This avoids getting off-by-one error messages when passing wrong args.

Some macros had a val argument but documented @value argument. Fix this.

While touching things, enforce gtk-doc markup for return values and for
referencing types.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1361051043-27944-2-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tests/libqtest.h