Andrew Stitcher created PROTON-620:
--------------------------------------

             Summary: 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


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)

Reply via email to