Class: HTS::LibHTS::HtsIdx

Inherits:
FFI::Struct show all
Defined in:
lib/hts/libhts/constants.rb

Overview

FIXME: ManagedStruct

Class Method Summary collapse

Methods inherited from FFI::Struct

struct_layout, union_layout

Class Method Details

.release(ptr) ⇒ Object



192
193
194
# File 'lib/hts/libhts/constants.rb', line 192

def self.release(ptr)
  LibHTS.hts_idx_destroy(ptr) unless ptr.null?
end