method

new

Importance_1
Ruby latest stable (v2_5_5) - 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.