Module: Mach::Types

Extended by:
FFI::Library
Included in:
Mach, Functions
Defined in:
lib/mach/types.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.typedefsObject



42
43
44
# File 'lib/mach/types.rb', line 42

def self.typedefs
  @ffi_typedefs
end

Instance Method Details

#enum(*args) ⇒ Object



50
51
52
# File 'lib/mach/types.rb', line 50

def enum(*args)
  Mach::Types.enum(*args)
end

#find_type(t) ⇒ Object



46
47
48
# File 'lib/mach/types.rb', line 46

def find_type(t)
  Mach::Types.find_type(t) || super
end