Skip to content

Commit 59bb099

Browse files
committed
todo comments
1 parent 67fd2de commit 59bb099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/interface/TextView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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, "")

0 commit comments

Comments
 (0)