Mercurial > octave
comparison bootstrap @ 32055:dfd2b1a268a0
Don't list non-public or hidden functions from methods() (bug #64066)
* ov-classdef.cc (Fproperties): Use property name from property_map variable
, which is already known, rather than calling get_name() method which causes
cascade of multiple methods to be invoked.
* ov-classdef.cc (F__methods__): Change function signature to return a flag
"found" if input was a classdef class or instance. Add code to check "Access"
and "Hidden" properties before including in list of methods. Add BIST test
for __methods__.
* methods.m: Use second output from __methods__ to determine whether
__methods__ call was successful.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 25 Apr 2023 18:09:29 -0700 |
parents | e98fb9b4be86 |
children | e6d339b9309d |
comparison
equal
deleted
inserted
replaced
32054:5998f6639148 | 32055:dfd2b1a268a0 |
---|