Class: HTS::LibHTS::Bcf1

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

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object



497
498
499
# File 'lib/hts/libhts/constants.rb', line 497

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