git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e3478
)
docs: guestfs_set_out_of_memory_handler returns void, not int.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 6 Aug 2011 14:53:15 +0000
(15:53 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sun, 7 Aug 2011 21:00:40 +0000
(22:00 +0100)
It always has done. The documentation was wrong.
(cherry picked from commit
70f44cc0ea0bcdd025ed657461e07f6778be44ba
)
src/guestfs.pod
patch
|
blob
|
history
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
859fd19
..
d268e5d
100644
(file)
--- a/
src/guestfs.pod
+++ b/
src/guestfs.pod
@@
-1452,8
+1452,8
@@
Returns the current error handler callback.
=head2 guestfs_set_out_of_memory_handler
typedef void (*guestfs_abort_cb) (void);
-
int
guestfs_set_out_of_memory_handler (guestfs_h *g,
- guestfs_abort_cb);
+
void
guestfs_set_out_of_memory_handler (guestfs_h *g,
+
guestfs_abort_cb);
The callback C<cb> will be called if there is an out of memory
situation. I<Note this callback must not return>.