Class: HTS::LibHTS::Faidx

Inherits:
FFI::Struct show all
Defined in:
lib/hts/libhts/constants.rb

Overview

FIXME: ManagedStruct

Class Method Summary collapse

Methods inherited from FFI::Struct

struct_layout, union_layout

Class Method Details

.release(ptr) ⇒ Object



417
418
419
# File 'lib/hts/libhts/constants.rb', line 417

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