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