Mercurial > octave
changeset 32890:258444f64447 stable
allow properties to be documented
* cdef-class.cc (cdef_class::meta_class): Set doc strings for
cdef_property objects when iterating through the list of properties.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 31 Jan 2024 17:25:41 -0500 |
parents | d312676c51c8 |
children | ff1d5873f805 |
files | libinterp/octave-value/cdef-class.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/cdef-class.cc Wed Jan 31 22:55:35 2024 -0500 +++ b/libinterp/octave-value/cdef-class.cc Wed Jan 31 17:25:41 2024 -0500 @@ -1128,6 +1128,8 @@ cdef_property prop = cdm.make_property (retval, prop_name); + prop.doc_string (prop_p->doc_string ()); + #if DEBUG_TRACE std::cerr << "property: " << prop_p->ident ()->name () << std::endl;