Class: HTS::LibHTS::Bam1

Inherits:
FFI::ManagedStruct
  • Object
show all
Defined in:
lib/hts/libhts/constants.rb

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object

bit_fields :_mempolicy,

:mempolicy,  2,
:_reserved,  30


350
351
352
# File 'lib/hts/libhts/constants.rb', line 350

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