MLIR
20.0.0git
|
Accumulates int a python file-like object, either writing text (default) or binary. More...
#include "Bindings/Python/PybindUtils.h"
Public Member Functions | |
PyFileAccumulator (const pybind11::object &fileObject, bool binary) | |
void * | getUserData () |
MlirStringCallback | getCallback () |
Accumulates int a python file-like object, either writing text (default) or binary.
Definition at line 125 of file PybindUtils.h.
|
inline |
Definition at line 127 of file PybindUtils.h.
|
inline |
Definition at line 132 of file PybindUtils.h.
References MlirStringRef::data, and MlirStringRef::length.
Referenced by mlir::python::PyDiagnostic::getMessage(), mlir::python::PyOperationBase::print(), and mlir::python::PyOperationBase::writeBytecode().
|
inline |
Definition at line 130 of file PybindUtils.h.
Referenced by mlir::python::PyDiagnostic::getMessage(), mlir::python::PyOperationBase::print(), and mlir::python::PyOperationBase::writeBytecode().