changeset 15261:789c8c3c9af5

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.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 30 Aug 2012 15:53:01 +0100
parents 4f1a4923a19e
children 6be46886099f
files libinterp/interpfcn/defaults.in.h libinterp/interpfcn/symtab.h
diffstat 2 files changed, 26 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/interpfcn/defaults.in.h
+++ b/libinterp/interpfcn/defaults.in.h
@@ -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
--- a/libinterp/interpfcn/symtab.h
+++ b/libinterp/interpfcn/symtab.h
@@ -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; }