diff options
author | Matthew Booth <mbooth@redhat.com> | 2012-01-25 13:17:39 +0000 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2012-01-26 11:35:13 +0000 |
commit | 6568dd85f4aef705e7cf5c4301bc3b8f7119efd2 (patch) | |
tree | 7ba21f94988fcd9b3bad3c591898cae917c371a8 /gobject | |
parent | 501561742b43edb044072ec85048bb35b0b8201a (diff) | |
download | libguestfs-6568dd85f4aef705e7cf5c4301bc3b8f7119efd2.tar.gz libguestfs-6568dd85f4aef705e7cf5c4301bc3b8f7119efd2.tar.xz libguestfs-6568dd85f4aef705e7cf5c4301bc3b8f7119efd2.zip |
gobject: Allow RConstOptString to return an error
RConstOptString cannot return an error in the C api. This makes it a special
case for the GObject api, as all other return types have a corresponding GError
**err argument to return an error. This change removes this special case, and
includes the possibility of an error return in the API. An error is indicated by
setting *err to a non-NULL value.
This change is in preparation for adding a close api. An attempt to call any
api, even RConstOptString, on a closed handle must return an error.
Diffstat (limited to 'gobject')
0 files changed, 0 insertions, 0 deletions