xo-pyreflect: + TypeDescr.short_name
This commit is contained in:
parent
00025a66e4
commit
50d3d32fc3
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ namespace xo {
|
|||
.def_static("print_reflected_types",
|
||||
[](){ TypeDescrBase::print_reflected_types(std::cout); })
|
||||
.def_property_readonly("canonical_name", &TypeDescrBase::canonical_name)
|
||||
.def_property_readonly("short_name", &TypeDescrBase::short_name)
|
||||
.def("__repr__", &TypeDescrBase::display_string);
|
||||
|
||||
/* note: this means python will use
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue