From 1b1e09b7977d91f7239b836f3ac73e19a6956aaa Mon Sep 17 00:00:00 2001 From: MikePopoloski Date: Sun, 10 Mar 2024 09:48:46 -0400 Subject: [PATCH] Fix Python binding for Type::isBitstreamType --- bindings/python/TypeBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/TypeBindings.cpp b/bindings/python/TypeBindings.cpp index 6b8c8c744..6e457ed10 100644 --- a/bindings/python/TypeBindings.cpp +++ b/bindings/python/TypeBindings.cpp @@ -36,7 +36,6 @@ void registerTypes(py::module_& m) { .def_property_readonly("isBooleanConvertible", &Type::isBooleanConvertible) .def_property_readonly("isArray", &Type::isArray) .def_property_readonly("isStruct", &Type::isStruct) - .def_property_readonly("isBitstreamType", &Type::isBitstreamType) .def_property_readonly("isFixedSize", &Type::isFixedSize) .def_property_readonly("isSimpleType", &Type::isSimpleType) .def_property_readonly("isByteArray", &Type::isByteArray) @@ -72,6 +71,7 @@ void registerTypes(py::module_& m) { .def("isAssignmentCompatible", &Type::isAssignmentCompatible, "rhs"_a) .def("isCastCompatible", &Type::isCastCompatible, "rhs"_a) .def("isBitstreamCastable", &Type::isBitstreamCastable, "rhs"_a) + .def("isBitstreamType", &Type::isBitstreamType, "destination"_a = false) .def("isDerivedFrom", &Type::isDerivedFrom, "rhs"_a) .def("implements", &Type::implements, "rhs"_a) .def("isValidForRand", &Type::isValidForRand, "rhs"_a)