Class: FFI::Struct
- Inherits:
-
Object
show all
- Defined in:
- lib/hts/libhts.rb
Direct Known Subclasses
BitStruct, HTS::LibHTS::Bam1, HTS::LibHTS::Bam1Core, HTS::LibHTS::BcfDec, HTS::LibHTS::BcfHdr, HTS::LibHTS::BcfHrec, HTS::LibHTS::BcfIdinfo, HTS::LibHTS::BcfIdpair, HTS::LibHTS::BcfVariant, HTS::LibHTS::Faidx, HTS::LibHTS::HtsFormat, HTS::LibHTS::HtsIdx, HTS::LibHTS::HtsOpt, HTS::LibHTS::HtsThreadPool, HTS::LibHTS::KSeq, HTS::LibHTS::KString, HTS::LibHTS::SamHdr, HTS::LibHTS::Tbx, HTS::LibHTS::TbxConf
Class Method Summary
collapse
Class Method Details
.struct_layout(*args) ⇒ Object
56
57
58
|
# File 'lib/hts/libhts.rb', line 56
def struct_layout(*args)
Class.new(FFI::Struct) { layout(*args) }
end
|
.union_layout(*args) ⇒ Object
37
38
39
|
# File 'lib/hts/libhts.rb', line 37
def union_layout(*args)
Class.new(FFI::Union) { layout(*args) }
end
|