Class: FFI::StructByValue

Inherits:
Type
  • Object
show all
Defined in:
lib/ffi-compiler/fake_ffi/ffi.rb

Instance Attribute Summary

Attributes inherited from Type

#name

Instance Method Summary collapse

Constructor Details

#initialize(struct_class) ⇒ StructByValue

Returns a new instance of StructByValue.



25
26
27
# File 'lib/ffi-compiler/fake_ffi/ffi.rb', line 25

def initialize(struct_class)
  super("struct #{struct_class.to_s.gsub('::', '_')}")
end