Mercurial > octave
diff libinterp/corefcn/symtab.h @ 28436:22e90bdcf47f stable
make find_scoped_function available in symbol_table class
* fcn-info.h (fcn_info::find_scoped_function): Now const.
* symtab.h, symtab.cc (symbol_table::find_scoped_function):
New function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 09 Jun 2020 16:52:57 -0400 |
parents | bd51beb6205e |
children | 8f3aedc5ab4f |
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.h Tue May 12 12:43:42 2020 -0400 +++ b/libinterp/corefcn/symtab.h Tue Jun 09 16:52:57 2020 -0400 @@ -72,6 +72,9 @@ bool is_built_in_function_name (const std::string& name); + octave_value find_scoped_function (const std::string& name, + const symbol_scope& search_scope); + // FIXME: this function only finds legacy class methods, not // classdef methods. octave_value find_method (const std::string& name,