Module: FFI::GNUExtensions
Overview
Support versioned functions until https://github.com/ffi/ffi/issues/889
end
Defined Under Namespace
Modules: DLV
Instance Method Summary collapse
-
#dlopen(library, type) ⇒ FFI::Pointer
Library address, possibly NULL.
-
#dlvsym(handle) ⇒ FFI::Pointer
Function address, possibly NULL.
Instance Method Details
#dlopen(library, type) ⇒ FFI::Pointer
Returns library address, possibly NULL.
34 |
# File 'lib/ffi/gnu_extensions.rb', line 34 attach_function :dlopen, %i[string int], :pointer |
#dlvsym(handle) ⇒ FFI::Pointer
Returns function address, possibly NULL.
37 |
# File 'lib/ffi/gnu_extensions.rb', line 37 attach_function :dlvsym, %i[pointer string string], :pointer |