MLIR
21.0.0git
|
Accumulates into a file, either writing text (default) or binary. More...
#include "Bindings/Python/NanobindUtils.h"
Public Member Functions | |
PyFileAccumulator (const nanobind::object &fileOrStringObject, bool binary) | |
MlirStringCallback | getCallback () |
void * | getUserData () |
Accumulates into a file, either writing text (default) or binary.
The file may be a Python file-like object or a path to a file.
Definition at line 138 of file NanobindUtils.h.
|
inline |
Definition at line 140 of file NanobindUtils.h.
|
inline |
Definition at line 156 of file NanobindUtils.h.
Referenced by mlir::python::PyDiagnostic::getMessage(), and mlir::python::PyOperationBase::writeBytecode().
|
inline |
Definition at line 161 of file NanobindUtils.h.
Referenced by mlir::python::PyDiagnostic::getMessage(), and mlir::python::PyOperationBase::writeBytecode().