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
......@@ -102,18 +102,15 @@
(write object io_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
; prepare and write_close methods.
(write_buffer object write_buffer)
; but it seems simpler to keep it here, as it must be taken into
; account for proper closing of fd:s.
; Called to when fd is closed for writing.
(write_close method void)))
(write_buffer object write_buffer)))
#define FD_PREPARE(fd) ((fd)->prepare(fd))
#define FD_READ(fd) IO_CALLBACK((fd)->read, (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
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