Skip to content

Commit

Permalink
Comment out funcs not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtfx committed Jan 9, 2024
1 parent f0eaf8f commit eab0d76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/translation/TranslationUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ py::class_<BTranslationUtils,std::unique_ptr<BTranslationUtils, py::nodelete>>(m
.def_static("GetBitmapFile", &BTranslationUtils::GetBitmapFile, "", py::arg("name"), py::arg("roster")=NULL)
.def_static("GetBitmap", py::overload_cast<const entry_ref *, BTranslatorRoster *>(&BTranslationUtils::GetBitmap), "", py::arg("ref"), py::arg("roster")=NULL)
.def_static("GetBitmap", py::overload_cast<BPositionIO *, BTranslatorRoster *>(&BTranslationUtils::GetBitmap), "", py::arg("stream"), py::arg("roster")=NULL)
.def_static("SetBitmapColorSpace", &BTranslationUtils::SetBitmapColorSpace, "", py::arg("space"))
.def_static("BitmapColorSpace", &BTranslationUtils::BitmapColorSpace, "")
//.def_static("SetBitmapColorSpace", &BTranslationUtils::SetBitmapColorSpace, "", py::arg("space"))
//.def_static("BitmapColorSpace", &BTranslationUtils::BitmapColorSpace, "")
.def_static("GetStyledText", py::overload_cast<BPositionIO *, BTextView *, BTranslatorRoster *>(&BTranslationUtils::GetStyledText), "", py::arg("fromStream"), py::arg("intoView"), py::arg("roster")=NULL)
.def_static("GetStyledText", py::overload_cast<BPositionIO *, BTextView *, const char *, BTranslatorRoster *>(&BTranslationUtils::GetStyledText), "", py::arg("fromStream"), py::arg("intoView"), py::arg("encoding"), py::arg("roster")=NULL)
.def_static("PutStyledText", &BTranslationUtils::PutStyledText, "", py::arg("fromView"), py::arg("intoStream"), py::arg("roster")=NULL)
Expand Down

0 comments on commit eab0d76

Please sign in to comment.