method

new

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: 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

Show source
Register or log in to add new notes.