#include <Python.h>
#include <string>
Go to the source code of this file.
Functions | |
PyObject * | pythonBorrowAttrString (PyObject *o, const char *name) |
PyObject * | pythonImport (const std::string &name) |
std::string | stringFromPython (PyObject *input) |
PyObject * | stringToPython (const std::string &input) |
PyObject * | stringToPython (const char *input) |
PyObject* pythonBorrowAttrString | ( | PyObject * | o, |
const char * | name | ||
) | [inline] |
Definition at line 47 of file python_compat.h.
PyObject* pythonImport | ( | const std::string & | name | ) | [inline] |
Definition at line 39 of file python_compat.h.
std::string stringFromPython | ( | PyObject * | input | ) | [inline] |
Definition at line 26 of file python_compat.h.
PyObject* stringToPython | ( | const std::string & | input | ) | [inline] |
Definition at line 8 of file python_compat.h.
PyObject* stringToPython | ( | const char * | input | ) | [inline] |
Definition at line 17 of file python_compat.h.