Commit b0b39237 authored by Niels Möller's avatar Niels Möller
Browse files

* src/io.h (FD_WRITE_CLOSE): Deleted method.

Rev: src/io.h:1.83
parent 29fa4c03
...@@ -101,19 +101,16 @@ ...@@ -101,19 +101,16 @@
; Called if poll indicates that data can be written. ; Called if poll indicates that data can be written.
(write object io_callback) (write object io_callback)
; NOTE: We could put write_buffer inside the write callback, ; NOTE: We could put write_buffer inside the write callback,
; but it seems simpler to keep it here, as it is needed by the ; but it seems simpler to keep it here, as it must be taken into
; prepare and write_close methods. ; account for proper closing of fd:s.
(write_buffer object write_buffer)
; Called to when fd is closed for writing. (write_buffer object write_buffer)))
(write_close method void)))
*/ */
#define FD_PREPARE(fd) ((fd)->prepare(fd)) #define FD_PREPARE(fd) ((fd)->prepare(fd))
#define FD_READ(fd) IO_CALLBACK((fd)->read, (fd)) #define FD_READ(fd) IO_CALLBACK((fd)->read, (fd))
#define FD_WRITE(fd) IO_CALLBACK((fd)->write, (fd)) #define FD_WRITE(fd) IO_CALLBACK((fd)->write, (fd))
#define FD_WRITE_CLOSE(fd) ((fd)->write_close(fd))
/* Used for read handlers like read_line and read_packet that /* Used for read handlers like read_line and read_packet that
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment