From: Richard W.M. Jones Date: Sat, 6 Aug 2011 14:53:15 +0000 (+0100) Subject: docs: guestfs_set_out_of_memory_handler returns void, not int. X-Git-Tag: 1.8.11~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=c039ce86da94275ffe35f23a87f62586e7b23f49;p=libguestfs.git docs: guestfs_set_out_of_memory_handler returns void, not int. It always has done. The documentation was wrong. (cherry picked from commit 70f44cc0ea0bcdd025ed657461e07f6778be44ba) --- diff --git a/src/guestfs.pod b/src/guestfs.pod index d8156b9..013a923 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -1392,8 +1392,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 will be called if there is an out of memory situation. I.