I'm trying to return a Python string from a C++ function (actually
inside gnuradio) using CPython 2.5. My C++ function is declared like:
typedef struct {
int size;
unsigned char *data;
} STRING
STRINGBUF myfunc(std::str ing s)
{
STRINGBUF buf;
inside gnuradio) using CPython 2.5. My C++ function is declared like:
typedef struct {
int size;
unsigned char *data;
} STRING
STRINGBUF myfunc(std::str ing s)
{
STRINGBUF buf;