Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
# Wrapper for the data structure PollFD used for polling on a socket
class PollFD
# Wrapper for the data structure PollFD used for polling on a socket
class PollFD
# The PollFD object
private var poll_struct: NativeSocketPollFD
# The PollFD object
private var poll_struct: NativeSocketPollFD
return response & mask;
`}
return response & mask;
`}
+ redef fun finalize_once
+ do
+ poll_struct.free
+ end
end
# Data structure used by the poll function
end
# Data structure used by the poll function