From 62b111e5c87ac2e21aa8f969a191efeee7a4db07 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 6 Aug 2012 11:58:47 +1000 Subject: [PATCH] rebuild Imager::APIRef --- lib/Imager/APIRef.pod | 73 ------------------------------------------- 1 file changed, 73 deletions(-) diff --git a/lib/Imager/APIRef.pod b/lib/Imager/APIRef.pod index 28c81aeb..18d65b06 100644 --- a/lib/Imager/APIRef.pod +++ b/lib/Imager/APIRef.pod @@ -1008,79 +1008,6 @@ From: File fills.c =over -=item io_new_bufchain() - -returns a new io_glue object that has the 'empty' source and but can -be written to and read from later (like a pseudo file). - - -=for comment -From: File iolayer.c - -=item io_new_buffer(data, length) - -Returns a new io_glue object that has the source defined as reading -from specified buffer. Note that the buffer is not copied. - - data - buffer to read from - length - length of buffer - - -=for comment -From: File iolayer.c - -=item io_new_cb(p, read_cb, write_cb, seek_cb, close_cb, destroy_cb) - -Create a new I/O layer object that calls your supplied callbacks. - -In general the callbacks should behave like the corresponding POSIX -primitives. - -=over - -=item * - -C(p, buffer, length) should read up to C bytes into -C and return the number of bytes read. At end of file, return -0. On error, return -1. - -=item * - -C(p, buffer, length) should write up to C bytes from -C and return the number of bytes written. A return value <= 0 -will be treated as an error. - -=item * - -C(p, offset, whence) should seek and return the new offset. - -=item * - -C(p) should return 0 on success, -1 on failure. - -=item * - -C(p) should release any memory specific to your callback -handlers. - -=back - - -=for comment -From: File iolayer.c - -=item io_new_fd(fd) - -returns a new io_glue object that has the source defined as reading -from specified file descriptor. Note that the the interface to receiving -data from the io_glue callbacks hasn't been done yet. - - fd - file descriptor to read/write from - - -=for comment -From: File iolayer.c - =item i_io_close(io) Flush any pending output and perform the close action for the stream. -- 2.39.5