@@ -303,8 +303,8 @@ py::class_<BTextView, PyBTextView, BView, std::unique_ptr<BTextView,py::nodelete
303303.def_static (" AllocRunArray" , &BTextView::AllocRunArray," " ,py::arg (" entryCount" ),py::arg (" outSize" )=NULL )
304304.def_static (" CopyRunArray" , &BTextView::CopyRunArray," " ,py::arg (" orig" ),py::arg (" countDelta" )=0 )
305305.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?
308308.def (" Undo" , &BTextView::Undo," " ,py::arg (" clipboard" ))
309309.def (" UndoState" , &BTextView::UndoState," " ,py::arg (" isRedo" ))
310310.def (" MinSize" , &BTextView::MinSize," " )