summaryrefslogtreecommitdiff
path: root/tests/libqtest.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-16 22:44:01 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-18 08:39:09 -0600
commit6acf801de5a6e299c02ab3efe3e0dcd75ae678e0 (patch)
treeef0118eb3ae69679455a7a496fea40170db3a32e /tests/libqtest.c
parent3c3adde005ec929d7d581d495d9a0bb223e6e055 (diff)
downloadqemu-6acf801de5a6e299c02ab3efe3e0dcd75ae678e0.tar.gz
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>
Diffstat (limited to 'tests/libqtest.c')
0 files changed, 0 insertions, 0 deletions