Module: Libuv::Ext
- Extended by:
- FFI::Library, Forwardable
- Defined in:
- lib/libuv/ext/ext.rb,
lib/libuv/ext/platform/unix.rb,
lib/libuv/ext/platform/linux.rb,
lib/libuv/ext/platform/windows.rb,
lib/libuv/ext/platform/darwin_x64.rb,
lib/libuv/ext/types.rb
Defined Under Namespace
Modules: LIBC, WS2
Classes: FsRequest, In6Addr, InAddr, Sockaddr, SockaddrIn, SockaddrIn6, U6Addr, UvAddrinfo, UvBuf, UvFSStat, UvStat, UvTimespec
Class Method Summary
collapse
Class Method Details
.create_handle(type) ⇒ Object
253
254
255
|
# File 'lib/libuv/ext/ext.rb', line 253
def self.create_handle(type)
LIBC.malloc(Ext.handle_size(type))
end
|
.create_request(type) ⇒ Object
257
258
259
|
# File 'lib/libuv/ext/ext.rb', line 257
def self.create_request(type)
LIBC.malloc(Ext.req_size(type))
end
|
.free ⇒ Object
.malloc ⇒ Object
.ntohs ⇒ Object