module FFI::Library

def ffi_libraries

Raises:
  • (LoadError) - if no libraries have been loaded (using {#ffi_lib})

Returns:
  • (Array) - array of currently loaded FFI libraries

Other tags:
    See: #ffi_lib -
def ffi_libraries
  raise LoadError.new("no library specified") if !defined?(@ffi_libs) || @ffi_libs.empty?
  @ffi_libs
end