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

Rafael H. Schloming commented on PROTON-135:
--------------------------------------------

Are there specific scenarios you're running into that need this? I'd like to 
understand more about how it would be used. I'm wary of exposing type-specific 
allocators as the internal types used by the engine can/will change, so 
exposing that would make for a fairly brittle API.
                
> Provide hooks in proton-c to allow override of malloc/free for internal types
> -----------------------------------------------------------------------------
>
>                 Key: PROTON-135
>                 URL: https://issues.apache.org/jira/browse/PROTON-135
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>    Affects Versions: 0.2
>            Reporter: Ted Ross
>
> It is desirable for engine applications (i.e. advanced developers) to be able 
> to provide a custom memory management solution for data types used in proton.
> I will follow up later with a proposal for how this might be done.  My 
> general thought is to allow an extension "plugin" to provide type-specific 
> 'allocate' and 'free' functions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to