Module FFI::Library
In: lib/ffi/library.rb

Methods

Constants

CURRENT_PROCESS = FFI::CURRENT_PROCESS
LIBC = FFI::Platform::LIBC

Public Class methods

Public Instance methods

Attach C function name to this module.

If you want to provide an alternate name for the module function, supply it after the name, otherwise the C function name will be used.#

After the name, the C function argument types are provided as an Array.

The C function return type is provided last.

[Validate]