method
new
v2_4_6 -
Show latest stable
- Class:
Fiddle::CStructEntity
new(addr, types, func = nil)public
Wraps the C pointer addr as a C struct with the given types.
When the instance is garbage collected, the C function func is called.
See also Fiddle::Pointer.new