summaryrefslogtreecommitdiffstats
path: root/gobject
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2012-01-25 13:17:39 +0000
committerMatthew Booth <mbooth@redhat.com>2012-01-26 11:35:13 +0000
commit6568dd85f4aef705e7cf5c4301bc3b8f7119efd2 (patch)
tree7ba21f94988fcd9b3bad3c591898cae917c371a8 /gobject
parent501561742b43edb044072ec85048bb35b0b8201a (diff)
downloadlibguestfs-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