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



559
560
561
# File 'lib/hts/libhts/constants.rb', line 559

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