diff options
author | Matthew Booth <mbooth@redhat.com> | 2012-01-25 13:17:39 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-01-29 11:13:56 +0000 |
commit | cfc951a3c19ea38086a4ed1f6f2647d8cd28f85e (patch) | |
tree | 08d10faf99ba9c347cdc9fd38b488dbf5f801985 /gobject/run-bindtests | |
parent | 9b05d5870b2db08f236bcc2b78f1c4118133ef6b (diff) | |
download | libguestfs-cfc951a3c19ea38086a4ed1f6f2647d8cd28f85e.tar.gz libguestfs-cfc951a3c19ea38086a4ed1f6f2647d8cd28f85e.tar.xz libguestfs-cfc951a3c19ea38086a4ed1f6f2647d8cd28f85e.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.
(cherry picked from commit 6568dd85f4aef705e7cf5c4301bc3b8f7119efd2)
Diffstat (limited to 'gobject/run-bindtests')
0 files changed, 0 insertions, 0 deletions