Skip to content

Commit

Permalink
bindings/python: Add new TypePrinter options
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Nov 4, 2022
1 parent 30ae0e6 commit 211a5c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bindings/python/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ void registerTypes(py::module_& m) {
typePrintingOptions.def_readwrite("addSingleQuotes", &TypePrintingOptions::addSingleQuotes)
.def_readwrite("elideScopeNames", &TypePrintingOptions::elideScopeNames)
.def_readwrite("printAKA", &TypePrintingOptions::printAKA)
.def_readwrite("anonymousTypeStyle", &TypePrintingOptions::anonymousTypeStyle);
.def_readwrite("anonymousTypeStyle", &TypePrintingOptions::anonymousTypeStyle)
.def_readwrite("skipScopedTypeNames", &TypePrintingOptions::anonymousTypeStyle)
.def_readwrite("fullEnumType", &TypePrintingOptions::anonymousTypeStyle);

py::enum_<TypePrintingOptions::AnonymousTypeStyle>(typePrintingOptions, "AnonymousTypeStyle")
.value("SystemName", TypePrintingOptions::SystemName)
Expand Down

0 comments on commit 211a5c7

Please sign in to comment.