Class: FFI::StructByValue
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(struct_class) ⇒ StructByValue
constructor
A new instance of StructByValue.
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 |