@@ -303,8 +303,8 @@ py::class_<BTextView, PyBTextView, BView, std::unique_ptr<BTextView,py::nodelete
303
303
.def_static (" AllocRunArray" , &BTextView::AllocRunArray, " " , py::arg (" entryCount" ), py::arg (" outSize" )=NULL )
304
304
.def_static (" CopyRunArray" , &BTextView::CopyRunArray, " " , py::arg (" orig" ), py::arg (" countDelta" )=0 )
305
305
.def_static (" FreeRunArray" , &BTextView::FreeRunArray, " " , py::arg (" array" ))
306
- .def_static (" FlattenRunArray" , &BTextView::FlattenRunArray, " " , py::arg (" runArray" ), py::arg (" _size" )=NULL )
307
- .def_static (" UnflattenRunArray" , &BTextView::UnflattenRunArray, " " , py::arg (" data" ), py::arg (" _size" )=NULL )
306
+ .def_static (" FlattenRunArray" , &BTextView::FlattenRunArray, " " , py::arg (" runArray" ), py::arg (" _size" )=NULL )// return py::bytes or py::buffer?
307
+ .def_static (" UnflattenRunArray" , &BTextView::UnflattenRunArray, " " , py::arg (" data" ), py::arg (" _size" )=NULL )// data should be py::bytes or py::buffer?
308
308
.def (" Undo" , &BTextView::Undo, " " , py::arg (" clipboard" ))
309
309
.def (" UndoState" , &BTextView::UndoState, " " , py::arg (" isRedo" ))
310
310
.def (" MinSize" , &BTextView::MinSize, " " )
0 commit comments