Darryl L. Pierce created PROTON-448:

             Summary: Ruby bindings need to have their set calls updated to 
properly map values to pn_data_t*
                 Key: PROTON-448
                 URL: https://issues.apache.org/jira/browse/PROTON-448
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.5
            Reporter: Darryl L. Pierce
            Assignee: Darryl L. Pierce

When using the APIs in Qpid::Proton::Data I'm seeing:

irb(main):001:0> require 'qpid_proton'
=> true
irb(main):002:0> data = Qpid::Proton::Data.new
=> #<Qpid::Proton::Data:0x000000011553f0 @data=16, @free=false>
irb(main):003:0> data.ubyte = 3
TypeError: Expected argument 0 of type pn_data_t *, but got Fixnum 16
        in SWIG method 'pn_data_put_ubyte'
        from (irb):3
        from /usr/bin/irb:12:in `<main>'

This message was sent by Atlassian JIRA

Reply via email to