diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-16 22:44:01 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-18 08:39:09 -0600 |
commit | 6acf801de5a6e299c02ab3efe3e0dcd75ae678e0 (patch) | |
tree | ef0118eb3ae69679455a7a496fea40170db3a32e /tests/libqtest.c | |
parent | 3c3adde005ec929d7d581d495d9a0bb223e6e055 (diff) |
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