Functions
python_compat.h File Reference
#include <Python.h>
#include <string>
Include dependency graph for python_compat.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

PyObject* pythonBorrowAttrString ( PyObject *  o,
const char *  name 
) [inline]

Definition at line 46 of file python_compat.h.

PyObject* pythonImport ( const std::string &  name) [inline]

Definition at line 38 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.



tf2_py
Author(s):
autogenerated on Mon Oct 2 2017 02:24:41