# HG changeset patch # User Michael Goffioul # Date 1346338381 -3600 # Node ID 789c8c3c9af50ad83da27551ea6709ba1e45e985 # Parent 4f1a4923a19ebd2c604b825dd96dbbca48d5d8dd Export more symbols from liboctinterp. * libinterp/interpfcn/symtab.h (symbol_table::symbol_record::symbol_record_rep::active_content): Decorate with OCTINTERP_API. * libinterp/interpfcn/defaults.in.h (Voctave_home, Vbin_dir, Vinfo_dir, Vdata_dir, Vlibexec_dir, Varch_lib_dir, Vlocal_arch_lib_dir, Vlocal_ver_arch_lib_dir, Vlocal_ver_oct_file_dir, Vlocal_api_oct_file_dir, Vlocal_oct_file_dir, Vlocal_ver_fcn_file_dir, Vlocal_api_fcn_file_dir, Vlocal_fcn_file_dir, Voct_etc_dir, Voct_file_dir, Vfcn_file_dir, Vimage_dir, VEDITOR, Vlocal_site_defaults_file, Vsite_defaults_file, subst_octave_fome, install_defaults, set_exec_path, set_image_path): Likewise. diff -r 4f1a4923a19e -r 789c8c3c9af5 libinterp/interpfcn/defaults.in.h --- a/libinterp/interpfcn/defaults.in.h Thu Aug 30 15:52:56 2012 +0100 +++ b/libinterp/interpfcn/defaults.in.h Thu Aug 30 15:53:01 2012 +0100 @@ -176,45 +176,45 @@ #define OCTAVE_RELEASE %OCTAVE_RELEASE% #endif -extern std::string Voctave_home; +extern OCTINTERP_API std::string Voctave_home; -extern std::string Vbin_dir; -extern std::string Vinfo_dir; -extern std::string Vdata_dir; -extern std::string Vlibexec_dir; -extern std::string Varch_lib_dir; -extern std::string Vlocal_arch_lib_dir; -extern std::string Vlocal_ver_arch_lib_dir; +extern OCTINTERP_API std::string Vbin_dir; +extern OCTINTERP_API std::string Vinfo_dir; +extern OCTINTERP_API std::string Vdata_dir; +extern OCTINTERP_API std::string Vlibexec_dir; +extern OCTINTERP_API std::string Varch_lib_dir; +extern OCTINTERP_API std::string Vlocal_arch_lib_dir; +extern OCTINTERP_API std::string Vlocal_ver_arch_lib_dir; -extern std::string Vlocal_ver_oct_file_dir; -extern std::string Vlocal_api_oct_file_dir; -extern std::string Vlocal_oct_file_dir; +extern OCTINTERP_API std::string Vlocal_ver_oct_file_dir; +extern OCTINTERP_API std::string Vlocal_api_oct_file_dir; +extern OCTINTERP_API std::string Vlocal_oct_file_dir; -extern std::string Vlocal_ver_fcn_file_dir; -extern std::string Vlocal_api_fcn_file_dir; -extern std::string Vlocal_fcn_file_dir; +extern OCTINTERP_API std::string Vlocal_ver_fcn_file_dir; +extern OCTINTERP_API std::string Vlocal_api_fcn_file_dir; +extern OCTINTERP_API std::string Vlocal_fcn_file_dir; -extern std::string Voct_etc_dir; +extern OCTINTERP_API std::string Voct_etc_dir; -extern std::string Voct_file_dir; -extern std::string Vfcn_file_dir; +extern OCTINTERP_API std::string Voct_file_dir; +extern OCTINTERP_API std::string Vfcn_file_dir; -extern std::string Vimage_dir; +extern OCTINTERP_API std::string Vimage_dir; // Name of the editor to be invoked by the edit_history command. -extern std::string VEDITOR; +extern OCTINTERP_API std::string VEDITOR; -extern std::string Vlocal_site_defaults_file; -extern std::string Vsite_defaults_file; +extern OCTINTERP_API std::string Vlocal_site_defaults_file; +extern OCTINTERP_API std::string Vsite_defaults_file; // Name of the FFTW wisdom program. extern OCTINTERP_API std::string Vfftw_wisdom_program; -extern std::string subst_octave_home (const std::string&); +extern OCTINTERP_API std::string subst_octave_home (const std::string&); -extern void install_defaults (void); +extern OCTINTERP_API void install_defaults (void); -extern void set_exec_path (const std::string& path = std::string ()); -extern void set_image_path (const std::string& path = std::string ()); +extern OCTINTERP_API void set_exec_path (const std::string& path = std::string ()); +extern OCTINTERP_API void set_image_path (const std::string& path = std::string ()); #endif diff -r 4f1a4923a19e -r 789c8c3c9af5 libinterp/interpfcn/symtab.h --- a/libinterp/interpfcn/symtab.h Thu Aug 30 15:52:56 2012 +0100 +++ b/libinterp/interpfcn/symtab.h Thu Aug 30 15:53:01 2012 +0100 @@ -410,7 +410,7 @@ symbol_table::erase_persistent (name); } - context_id active_context (void) const; + OCTINTERP_API context_id active_context (void) const; scope_id scope (void) const { return decl_scope; }