diff --git a/bindings/python/UtilBindings.cpp b/bindings/python/UtilBindings.cpp index 0e9445fa4..2a008553d 100644 --- a/bindings/python/UtilBindings.cpp +++ b/bindings/python/UtilBindings.cpp @@ -57,7 +57,9 @@ void registerUtil(py::module_& m) { py::class_(m, "BufferID") .def(py::init<>()) .def_property_readonly("id", &BufferID::getId) - .def_property_readonly_static("placeholder", &BufferID::getPlaceholder) + .def_static("getPlaceholder", &BufferID::getPlaceholder) + .def_property_readonly_static( + "placeholder", [](py::object /* self or cls */) { return BufferID::getPlaceholder(); }) .def(py::self == py::self) .def(py::self != py::self) .def(py::self < py::self) diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index 760088629..fcdda96a6 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -1,5 +1,9 @@ # Doxyfile 1.9.5 +# Note that this file cloned-and-modified by the settings in CMakeLists.txt. +# Various placeholders (e.g., `@DOXYGEN_OUTPUT_DIR@`) are replaced with the +# values of the corresponding CMake variables. + # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. #