MLIR  20.0.0git
Public Member Functions | List of all members
mlir::PyFileAccumulator Class Reference

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 ()
 

Detailed Description

Accumulates int a python file-like object, either writing text (default) or binary.

Definition at line 133 of file NanobindUtils.h.

Constructor & Destructor Documentation

◆ PyFileAccumulator()

mlir::PyFileAccumulator::PyFileAccumulator ( const nanobind::object &  fileObject,
bool  binary 
)
inline

Definition at line 135 of file NanobindUtils.h.

Member Function Documentation

◆ getCallback()

MlirStringCallback mlir::PyFileAccumulator::getCallback ( )
inline

◆ getUserData()

void* mlir::PyFileAccumulator::getUserData ( )
inline

The documentation for this class was generated from the following file: