class FFI::Struct::ManagedStructConverter
def initialize(struct_class)
-
struct_class
(Struct
) --
def initialize(struct_class) super(struct_class) raise NoMethodError, "release() not implemented for class #{struct_class}" unless struct_class.respond_to? :release @method = struct_class.method(:release) end