[
https://issues.apache.org/jira/browse/PROTON-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher resolved PROTON-2558.
-------------------------------------
Fix Version/s: proton-c-0.38.0
Resolution: Fixed
> Provide an API to create pn_class_t instances
> ---------------------------------------------
>
> Key: PROTON-2558
> URL: https://issues.apache.org/jira/browse/PROTON-2558
> Project: Qpid Proton
> Issue Type: Sub-task
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.38.0
>
>
> The Proton bindings (for at least Python, C++ and ruby) need to create
> {{pn_class_t}} instances for various reasons. Currently the only way to do
> that is to use some macros in {{proton/object.h}} which create static const
> {{pn_class_t}} instances however this requires knowledge of the internals of
> the struct itself which means that it cannot be changed without breaking ABI.
> So shifting this to a dynamic API is necessary to hide the internals of
> {{{}pn_class_t{}}}. This is very slightly less efficient but only in the
> startup path so it really doesn't matter all that much!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]