lib/libuv/ext/platform/unix.rb in libuv-1.0.2 vs lib/libuv/ext/platform/unix.rb in libuv-1.0.3
- old
+ new
@@ -11,19 +11,8 @@
:st_uid, :uid_t, :st_gid, :gid_t, :st_rdev, :dev_t, :st_size, :off_t,
:st_blksize, :blksize_t, :st_blocks, :blkcnt_t, :st_atime, :time_t,
:st_mtime, :time_t, :st_ctime, :time_t
end
- class UvAddrinfo < FFI::Struct
- layout :flags, :int,
- :family, :int,
- :socktype, :int,
- :protocol, :int,
- :addrlen, :socklen_t,
- :addr, Sockaddr.by_ref,
- :canonname, :string,
- :next, UvAddrinfo.by_ref
- end
-
attach_function :ntohs, [:ushort], :ushort, :blocking => true
end
end