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 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.



tf2_py
Author(s):
autogenerated on Thu Jun 6 2019 20:22:59