You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (Commented) (JIRA)" <ji...@apache.org> on 2012/01/04 14:35:38 UTC

[jira] [Commented] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

    [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179474#comment-13179474 ] 

Ted Ross commented on QPID-3718:
--------------------------------

The typemaps in swig_ruby_typemaps.i didn't include uint8_t or int8_t.  Your patch simply tells swig to treat uint8_t the same as "unsigned char" which is arguably cleaner than adding an explicit set of typemaps for uint8_t.  Perhaps we should do the same for all the {u}int{8,16,32,64}_t types.
                
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org