Skip to content

Commit

Permalink
Fix BufferID.placeholder static property, Doxygen docs (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
parker-research authored Dec 3, 2024
1 parent 8dc79fc commit f384536
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bindings/python/UtilBindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ void registerUtil(py::module_& m) {
py::class_<BufferID>(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)
Expand Down
4 changes: 4 additions & 0 deletions docs/Doxyfile.in
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down

0 comments on commit f384536

Please sign in to comment.