Sha256: dbd71a759b690105f94ba3211abbf181ac2a676489e4dc5f38ad1f6f0c2f684c
Contents?: true
Size: 343 Bytes
Versions: 2
Compression:
Stored size: 343 Bytes
Contents
module AprsParser module Converters class DoublePointer extend FFI::DataConverter native_type FFI::Type::POINTER class << self def from_native(value, _context) value.get_double(0) unless value.null? end def reference_required? false end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aprs_parser-1.0.0 | lib/aprs_parser/converters/double_pointer.rb |
aprs_parser-1.0.0.pre | lib/aprs_parser/converters/double_pointer.rb |