Sha256: 80accd653bac44c269f73a7563647e1016a59bf7ed17463505619c451d3fd340
Contents?: true
Size: 529 Bytes
Versions: 3
Compression:
Stored size: 529 Bytes
Contents
require 'ffi/msgpack/types' require 'ffi/msgpack/msg_object' module FFI module MsgPack class MsgKeyValue < FFI::Struct layout :key, :pointer, :value, :pointer # # The key. # # @return [MsgObject] # The key Msg Object. # def key MsgObject.new(self[:key]) end # # The value. # # @return [MsgObject] # The value Msg Object. # def value MsgObject.new(self[:value]) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffi-msgpack-0.1.2 | lib/ffi/msgpack/msg_key_value.rb |
ffi-msgpack-0.1.1 | lib/ffi/msgpack/msg_key_value.rb |
ffi-msgpack-0.1.0 | lib/ffi/msgpack/msg_key_value.rb |