Module: UV
- Extended by:
- FFI::Library, Forwardable
- Defined in:
- lib/uv.rb,
lib/uv/net.rb,
lib/uv/tcp.rb,
lib/uv/tty.rb,
lib/uv/udp.rb,
lib/uv/file.rb,
lib/uv/idle.rb,
lib/uv/loop.rb,
lib/uv/pipe.rb,
lib/uv/work.rb,
lib/uv/async.rb,
lib/uv/check.rb,
lib/uv/error.rb,
lib/uv/timer.rb,
lib/uv/handle.rb,
lib/uv/signal.rb,
lib/uv/stream.rb,
lib/uv/prepare.rb,
lib/uv/version.rb,
lib/uv/fs_event.rb,
lib/uv/listener.rb,
lib/uv/resource.rb,
lib/uv/file/stat.rb,
lib/uv/assertions.rb,
lib/uv/filesystem.rb,
lib/uv/types/unix.rb,
lib/uv/types/linux.rb,
lib/uv/types/windows.rb,
lib/uv/types/darwin_x64.rb,
lib/uv/types.rb
Defined Under Namespace
Modules: Assertions, Handle, LIBC, Listener, Net, Resource, Stream, WS2
Classes: Async, Check, Error, FSEvent, File, Filesystem, Idle, In6Addr, InAddr, Loop, Pipe, Prepare, Signal, Sockaddr, SockaddrIn, SockaddrIn6, TCP, TTY, Timer, U6Addr, UDP, UvBuf, UvFSStat, UvStat, UvTimespec, Work
Constant Summary
collapse
- VERSION =
'0.2.0'
Class Method Summary
collapse
Class Method Details
.create_handle(type) ⇒ Object
248
249
250
|
# File 'lib/uv.rb', line 248
def self.create_handle(type)
LIBC.malloc(UV.handle_size(type))
end
|
.create_request(type) ⇒ Object
252
253
254
|
# File 'lib/uv.rb', line 252
def self.create_request(type)
LIBC.malloc(UV.req_size(type))
end
|
.free ⇒ Object
.malloc ⇒ Object
.ntohs ⇒ Object