Class: FFI::StructByReference
- Defined in:
- lib/ffi-compiler/fake_ffi/ffi.rb
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(struct_class) ⇒ StructByReference
constructor
A new instance of StructByReference.
Constructor Details
#initialize(struct_class) ⇒ StructByReference
Returns a new instance of StructByReference.
19 20 21 |
# File 'lib/ffi-compiler/fake_ffi/ffi.rb', line 19 def initialize(struct_class) super("struct #{struct_class.to_s.gsub('::', '_')} *") end |