You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/05/10 17:51:10 UTC

[GitHub] merlimat opened a new pull request #1761: In C API add context pointer to callbacks

merlimat opened a new pull request #1761: In C API add context pointer to callbacks
URL: https://github.com/apache/incubator-pulsar/pull/1761
 
 
   ### Motivation
   
   Since in plain C we cannot add closures on a callback function (eg: by using `boost:bind()`), we need to pass an opaque context pointer, so that the caller of async methods can link the callback to some other object.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services