Skip to content

Commit 76fa25b

Browse files
committed
add todo comment
1 parent 51a1e6a commit 76fa25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/support/ByteOrder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ py::enum_<swap_action>(m, "swap_action", "")
4242
.value("B_SWAP_ALWAYS", swap_action::B_SWAP_ALWAYS, "")
4343
.export_values();
4444

45-
m.def("swap_data", &swap_data, "", py::arg("type"), py::arg("data"), py::arg("length"), py::arg("action"));
45+
m.def("swap_data", &swap_data, "", py::arg("type"), py::arg("data"), py::arg("length"), py::arg("action")); //todo data is a void* convert to py::buffer or py::bytes
4646

4747
m.def("is_type_swapped", &is_type_swapped, "", py::arg("type"));
4848

0 commit comments

Comments
 (0)