Mercurial > hg > octave-nkf
diff libinterp/interpfcn/help.h @ 15470:bf0857c789f4
initialize docstrings for built-in functions from file
* libinterp/Makefile.am: Install DOCSTRINGS file in
$(octetcdir)/built-in-docstrings.
* defaults.cc (set_built_in_docstrings_file): New function.
(install_defaults): Call it.
(Vbuilt_in_docstrings_file): New variable.
* defaults.in.h (Vbuilt_in_docstrings_file): Provide decl.
* help.cc (Fbuilt_in_docstrings_file, install_built_in_docstrings):
New functions.
* help.h (install_built_in_docstrings): Provide decl.
* mkbuiltins: Generate call to install_built_in_docstrings at end of
install_builtins function.
* octave.cc: Handle new option --built-in-docstrings-file.
(octave_process_command_line): Handle BUILT_IN_DOCSTRINGS_FILE_OPTION.
* run-octave.in: Pass --built-in-docstrings-file option to Octave.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 02 Oct 2012 15:53:23 -0400 |
parents | 2fc554ffbc28 |
children | bb7cbef712f1 |
line wrap: on
line diff
--- a/libinterp/interpfcn/help.h +++ b/libinterp/interpfcn/help.h @@ -32,6 +32,8 @@ extern OCTINTERP_API std::string raw_help (const std::string&, bool&); +extern OCTINTERP_API void install_built_in_docstrings (void); + // Name of the doc cache file specified on the command line. // (--doc-cache-file file) extern std::string Vdoc_cache_file;