|
MLIR 22.0.0git
|
Accumulates into a python string from a method that is expected to make one (no more, no less) call to the callback (asserts internally on violation). More...
#include "Bindings/Python/NanobindUtils.h"
Public Member Functions | |
| void * | getUserData () |
| MlirStringCallback | getCallback () |
| nanobind::str | takeValue () |
Accumulates into a python string from a method that is expected to make one (no more, no less) call to the callback (asserts internally on violation).
Definition at line 196 of file NanobindUtils.h.
|
inline |
Definition at line 199 of file NanobindUtils.h.
References MlirStringRef::data, and MlirStringRef::length.
|
inline |
Definition at line 197 of file NanobindUtils.h.
|
inline |
Definition at line 210 of file NanobindUtils.h.