Module: Ragweed::Wraposx::Libc

Extended by:
FFI::Library
Defined in:
lib/ragweed/wraposx/wraposx.rb,
lib/ragweed/wraposx/region_info.rb,
lib/ragweed/wraposx/thread_info.rb,
lib/ragweed/wraposx/thread_context.rb

Class Method Summary collapse

Class Method Details

.find_function(func) ⇒ Object

determine if a function is defined in the attached libraries



212
213
214
# File 'lib/ragweed/wraposx/region_info.rb', line 212

def self.find_function func
  ffi_libraries.detect{|lib| lib.find_function(func)}
end