You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2014/07/01 16:45:25 UTC

[jira] [Resolved] (PROTON-620) Remove unnecessary wrapped types from proton low level bindings

     [ https://issues.apache.org/jira/browse/PROTON-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Stitcher resolved PROTON-620.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

> Remove unnecessary wrapped types from proton low level bindings
> ---------------------------------------------------------------
>
>                 Key: PROTON-620
>                 URL: https://issues.apache.org/jira/browse/PROTON-620
>             Project: Qpid Proton
>          Issue Type: Improvement
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.8
>
>
> There are a few proton types that are exposed through the swigged low level bindings:
> * pn_atom_t (and its enclosed pn_atom_t_u)
> * pn_bytes_t
> * pn_class_t
> * pn_uuid_t
> * pn_decimal128_t
> * pn_delivery_tag_t
> pn_class_t is entirely internal to proton-c and isn't in any API - it was been removed from the 0.8 swigged bindings in a recent commit.
> The other types appear in some proton-c APIs, but the these types don't need exposing and instead there are fairly natural mappings to use in the swigged API. Indeed there are already swig typemaps which do this work for these types already.
> So these types can just be %ignored by swig when producing the bindings.
> After doing this - there are no wrapped types left in the API which I think is desirable. All proton-c structs are encapsulated in the bindings.



--
This message was sent by Atlassian JIRA
(v6.2#6252)