Mercurial > octave
comparison libinterp/corefcn/help.h @ 22198:f6181638f6c5
search docstrings file for built-in and dld function help text (bug #48554)
Load help text as needed from the built-in docstrings file for
built-in and dynamically loaded .oct file functions.
* help.h, help.cc (install_built_in_docstrings): Delete.
(raw_help_from_docstrings_file): New static function.
(raw_help): Call raw_help_from_docstrings_file if help text is not
found or if it is marked as external.
* mk-builtins.sh: Don't emit call to install_built_in_docstrings.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 02 Aug 2016 03:10:51 -0400 |
parents | 1473547f50f5 |
children | bac0d6f07a3e |
comparison
equal
deleted
inserted
replaced
22197:e43d83253e28 | 22198:f6181638f6c5 |
---|---|
32 | 32 |
33 extern string_vector make_name_list (void); | 33 extern string_vector make_name_list (void); |
34 | 34 |
35 extern OCTINTERP_API std::string raw_help (const std::string&, bool&); | 35 extern OCTINTERP_API std::string raw_help (const std::string&, bool&); |
36 | 36 |
37 extern OCTINTERP_API void install_built_in_docstrings (void); | |
38 | |
39 // Name of the doc cache file specified on the command line. | 37 // Name of the doc cache file specified on the command line. |
40 // (--doc-cache-file file) | 38 // (--doc-cache-file file) |
41 extern OCTINTERP_API std::string Vdoc_cache_file; | 39 extern OCTINTERP_API std::string Vdoc_cache_file; |
42 | 40 |
43 // Name of the file containing local Texinfo macros that are prepended | 41 // Name of the file containing local Texinfo macros that are prepended |