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

ASF subversion and git services commented on PROTON-2429:
---------------------------------------------------------

Commit 1d1bf116ce125f345d71f4f8eef0000d506e2f78 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=1d1bf11 ]

PROTON-2429: Introduce restricted pn_msgid_t typedef

This is a typedef for pn_atom_t but indicates that the values are
restricted to be the subset that is allowed in message id and
correlation id.


> [C] Introduce pn_msgid_t as an alias for pn_atom_t
> --------------------------------------------------
>
>                 Key: PROTON-2429
>                 URL: https://issues.apache.org/jira/browse/PROTON-2429
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> The purpose here is twofold: As a documentation aid to indicate that the 
> parameter is only allowed to have a type that is valid for use as a message 
> id (or correlation id). That is AMQP ulong, binary, utf8 string, uuid or 
> null. Also as an aid to allowing the bindings to use this alias as a means to 
> use a more restricted typemapping for parameters of this type. Swig supports 
> doing this fairly neatly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to