kernel/platform/library.rb
# Set which library or libraries +attach_function+ should
# look in. By default it only searches for the function in
# the current process. If you want to specify this as one
# of the locations, add FFI::USE_THIS_PROCESS_AS_LIBRARY.
# The libraries are tried in the order given.
#
Set which library or libraries +attach_function+ should
look in. By default it only searches for the function in
the current process. If you want to specify this as one
of the locations, add FFI::USE_THIS_PROCESS_AS_LIBRARY.
The libraries are tried in the order given.
Set which library or libraries + attach_function + should look in . By default it only searches for the function in the current process . If you want to specify this as one of the locations add FFI :: USE_THIS_PROCESS_AS_LIBRARY . The libraries are tried in the order given .
def ffi_library_names
      libraries = ffi_libraries
      this_process = "this process"
      names = libraries[0] || this_process
      i = 1
      size = libraries.size
      while i < size
        names.append ", "
        names.append libraries[i] || this_process
        i += 1
      end
      names
    end
def ffi_library_names libraries = ffi_libraries this_process = "this process" names = libraries [ 0 ] || this_process i = 1 size = libraries . size while i < size names . append ", " names . append libraries [ i ] || this_process i += 1 end names end
Set which library or libraries +attach_function+ should
look in.
Set which library or libraries + attach_function + should look in .