Class: HTS::LibHTS::SamHdr

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

Overview

HtsFile

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object



221
222
223
# File 'lib/hts/libhts/constants.rb', line 221

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