Class: FFI::Struct
- Inherits:
-
Object
show all
- Defined in:
- lib/hts/ffi_ext/struct.rb
Direct Known Subclasses
HTS::LibHTS::Bam1Core, HTS::LibHTS::BcfDec, HTS::LibHTS::BcfIdinfo, HTS::LibHTS::BcfIdpair, HTS::LibHTS::BcfVariant, HTS::LibHTS::Faidx, HTS::LibHTS::HtsFormat, HTS::LibHTS::HtsIdx, HTS::LibHTS::HtsOpt, HTS::LibHTS::HtsReglist, HTS::LibHTS::KSeq, HTS::LibHTS::KString, HTS::LibHTS::TbxConf
Class Method Summary
collapse
Class Method Details
.struct_layout(*args) ⇒ Object
40
41
42
|
# File 'lib/hts/ffi_ext/struct.rb', line 40
def struct_layout(*args)
Class.new(FFI::Struct) { layout(*args) }
end
|
.union_layout(*args) ⇒ Object
21
22
23
|
# File 'lib/hts/ffi_ext/struct.rb', line 21
def union_layout(*args)
Class.new(FFI::Union) { layout(*args) }
end
|