#include <Python.h>
#include <iostream>
#include <google/protobuf/io/zero_copy_stream_impl.h>
Go to the source code of this file.
|
template<typename T > |
bool | mesos::python::readPythonProtobuf (PyObject *obj, T *t) |
| Convert a Python protocol buffer object into a C++ one by serializing it to a string and deserializing the result back in C++. More...
|
|
template<typename T > |
PyObject * | mesos::python::createPythonProtobuf (const T &t, const char *typeName) |
| Convert a C++ protocol buffer object into a Python one by serializing it to a string and deserializing the result back in Python. More...
|
|