On Jan 7, 4:21 pm, Kenton Varda <
ken...@google.com> wrote:
> SWIG translates C/C++ APIs into other programming languages. Protocol
> Buffers is not a programming language, so I don't see the analogy. What
> would be the protocol buffer equivalent of a C function or a C++ class?
Technically, SWIG generates wrappers around C/C++ APIs from header
files so higher-level languages can call them. This is roughly what
he wants to do for Protocol Buffers: generate .proto schemas from C++
header files. He might want to look into extending the Boost
Serialization library somehow.