Class: HTS::LibHTS::HtsTpool

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

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object



263
264
265
# File 'lib/hts/libhts/constants.rb', line 263

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