docs: guestfs_set_out_of_memory_handler returns void, not int.

It always has done.  The documentation was wrong.
This commit is contained in:
Richard W.M. Jones
2011-08-06 15:53:15 +01:00
parent 1bf3941b9c
commit 70f44cc0ea

View File

@@ -1453,8 +1453,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>.