[C++-sig] boost::python bindings for protobuf

Johnny Graettinger johnny531 at gmail.com
Sun Feb 5 01:43:37 CET 2012


All,

For those working with both protobuf and boost::python, I've written a
protobuf plugin which generates boost::python wrappings for the
protoc-generated C++ implementation.

The rationale of the plugin (over, say, using the protoc experimental C++
python implementation) was a desire to directly wrap other C++ methods
taking / returning protobuf message instances via boost::python.

Presented in the hope that others find it useful:
https://github.com/dademurphy/protobpl

cheers,
johnny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20120204/5f936478/attachment.html>


More information about the Cplusplus-sig mailing list