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



255
256
257
# File 'lib/libuv/ext/ext.rb', line 255

def self.create_handle(type)
    LIBC.malloc(Ext.handle_size(type))
end

.create_request(type) ⇒ Object



259
260
261
# File 'lib/libuv/ext/ext.rb', line 259

def self.create_request(type)
    LIBC.malloc(Ext.req_size(type))
end

.freeObject

.mallocObject

.ntohsObject