Mercurial > octave
diff libinterp/corefcn/interpreter-private.h @ 29233:665c9ed14c97
Set API tags in files in libinterp/corefcn (patch #8919).
Add API tag to (template) class definitions. Add API tag to (un-defined)
functions and member functions in headers. Export template function
instantiations from .cc files.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 29 Dec 2020 18:15:36 +0100 |
parents | bd51beb6205e |
children | 7854d5752dd2 |
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter-private.h Tue Dec 29 18:06:37 2020 +0100 +++ b/libinterp/corefcn/interpreter-private.h Tue Dec 29 18:15:36 2020 +0100 @@ -54,45 +54,45 @@ class tree_evaluator; class type_info; - extern interpreter& __get_interpreter__ (const std::string& who); + extern OCTINTERP_API interpreter& __get_interpreter__ (const std::string& who); - extern dynamic_loader& __get_dynamic_loader__ (const std::string& who); + extern OCTINTERP_API dynamic_loader& __get_dynamic_loader__ (const std::string& who); - extern error_system& __get_error_system__ (const std::string& who); + extern OCTINTERP_API error_system& __get_error_system__ (const std::string& who); - extern gh_manager& __get_gh_manager__ (const std::string& who); + extern OCTINTERP_API gh_manager& __get_gh_manager__ (const std::string& who); - extern help_system& __get_help_system__ (const std::string& who); + extern OCTINTERP_API help_system& __get_help_system__ (const std::string& who); - extern input_system& __get_input_system__ (const std::string& who); + extern OCTINTERP_API input_system& __get_input_system__ (const std::string& who); - extern load_path& __get_load_path__ (const std::string& who); + extern OCTINTERP_API load_path& __get_load_path__ (const std::string& who); - extern load_save_system& __get_load_save_system__ (const std::string& who); + extern OCTINTERP_API load_save_system& __get_load_save_system__ (const std::string& who); - extern event_manager& __get_event_manager__ (const std::string& who); + extern OCTINTERP_API event_manager& __get_event_manager__ (const std::string& who); - extern output_system& __get_output_system__ (const std::string& who); + extern OCTINTERP_API output_system& __get_output_system__ (const std::string& who); - extern type_info& __get_type_info__ (const std::string& who); + extern OCTINTERP_API type_info& __get_type_info__ (const std::string& who); - extern symbol_table& __get_symbol_table__ (const std::string& who); + extern OCTINTERP_API symbol_table& __get_symbol_table__ (const std::string& who); - extern symbol_scope __get_current_scope__ (const std::string& who); + extern OCTINTERP_API symbol_scope __get_current_scope__ (const std::string& who); - extern symbol_scope __require_current_scope__ (const std::string& who); + extern OCTINTERP_API symbol_scope __require_current_scope__ (const std::string& who); - extern tree_evaluator& __get_evaluator__ (const std::string& who); + extern OCTINTERP_API tree_evaluator& __get_evaluator__ (const std::string& who); - extern bp_table& __get_bp_table__ (const std::string& who); + extern OCTINTERP_API bp_table& __get_bp_table__ (const std::string& who); - extern child_list& __get_child_list__ (const std::string& who); + extern OCTINTERP_API child_list& __get_child_list__ (const std::string& who); - extern cdef_manager& __get_cdef_manager__ (const std::string& who); + extern OCTINTERP_API cdef_manager& __get_cdef_manager__ (const std::string& who); - extern display_info& __get_display_info__ (const std::string& who); + extern OCTINTERP_API display_info& __get_display_info__ (const std::string& who); - extern gtk_manager& __get_gtk_manager__ (const std::string& who); + extern OCTINTERP_API gtk_manager& __get_gtk_manager__ (const std::string& who); // Functions that could be methods in the interpreter class but maybe // shouldn't be exposed as part of the public interface. @@ -102,10 +102,12 @@ // or the text of an inline function that has the given argument names // PARAMETER_NAMES. Use of the latter form is discouraged. + OCTINTERP_API octave_value get_function_handle (interpreter& interp, const octave_value& arg, const std::string& parameter_name); + OCTINTERP_API octave_value get_function_handle (interpreter& interp, const octave_value& arg, const std::list<std::string>& parameter_names