changeset 6693:768d3ad80bbf

[project @ 2007-06-06 05:18:54 by jwe]
author jwe
date Wed, 06 Jun 2007 05:18:54 +0000
parents 89b916a9eb61
children 3d913ba36b75
files liboctave/ChangeLog liboctave/MArray-C.cc src/ChangeLog src/defaults.h.in src/ls-hdf5.h src/ov-complex.h src/ov-cx-mat.h src/ov-intx.h src/sysdep.h
diffstat 9 files changed, 25 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Tue Jun 05 06:07:10 2007 +0000
+++ b/liboctave/ChangeLog	Wed Jun 06 05:18:54 2007 +0000
@@ -1,3 +1,7 @@
+2007-06-06  Michael Goffioul  <michael.goffioul@swing.be>
+
+	* MArray-C.cc: Sprinkle with OCTINTERP_API as needed.
+
 2007-06-04  David Bateman  <dbateman@free.fr>
 
 	* Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new
--- a/liboctave/MArray-C.cc	Tue Jun 05 06:07:10 2007 +0000
+++ b/liboctave/MArray-C.cc	Wed Jun 06 05:18:54 2007 +0000
@@ -41,7 +41,7 @@
 #include "MArray.cc"
 
 template <>
-double
+OCTAVE_API double
 MArray<Complex>::norm (double p) const
 {
   MARRAY_NORM_BODY (Complex, xdznrm2, XDZNRM2);
--- a/src/ChangeLog	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/ChangeLog	Wed Jun 06 05:18:54 2007 +0000
@@ -1,3 +1,8 @@
+2007-06-06  Michael Goffioul  <michael.goffioul@swing.be>
+
+	* defaults.h.in, ls-hdf5.h, ov-complex.h, ov-cx-mat.h, ov-intx.h,
+	sysdep.h: Sprinkle with OCTINTERP_API as needed.
+
 2007-06-05  John W. Eaton  <jwe@octave.org>
 
 	* help.h (raw_help): Tag with OCTINTERP_API.
--- a/src/defaults.h.in	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/defaults.h.in	Wed Jun 06 05:18:54 2007 +0000
@@ -195,7 +195,7 @@
 extern std::string Vsite_defaults_file;
 
 // Name of the FFTW wisdom program.
-extern std::string Vfftw_wisdom_program;
+extern OCTINTERP_API std::string Vfftw_wisdom_program;
 
 extern std::string subst_octave_home (const std::string&);
 
--- a/src/ls-hdf5.h	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/ls-hdf5.h	Wed Jun 06 05:18:54 2007 +0000
@@ -140,35 +140,35 @@
 };
 
 #if HAVE_HDF5_INT2FLOAT_CONVERSIONS
-extern hid_t
+extern OCTINTERP_API hid_t
 save_type_to_hdf5 (save_type st)
 #endif
 
-extern hid_t
+extern OCTINTERP_API hid_t
 hdf5_make_complex_type (hid_t num_type);
 
-extern bool
+extern OCTINTERP_API bool
 hdf5_types_compatible (hid_t t1, hid_t t2);
 
-extern herr_t
+extern OCTINTERP_API herr_t
 hdf5_read_next_data (hid_t group_id, const char *name, void *dv);
 
-extern bool
+extern OCTINTERP_API bool
 add_hdf5_data (hid_t loc_id, const octave_value& tc,
 	       const std::string& name, const std::string& doc,
 	       bool mark_as_global, bool save_as_floats);
 
-extern int
+extern OCTINTERP_API int
 save_hdf5_empty (hid_t loc_id, const char *name, const dim_vector d);
 
-extern int
+extern OCTINTERP_API int
 load_hdf5_empty (hid_t loc_id, const char *name, dim_vector &d);
 
-extern std::string
+extern OCTINTERP_API std::string
 read_hdf5_data (std::istream& is,  const std::string& filename, bool& global,
 		octave_value& tc, std::string& doc);
 
-extern bool
+extern OCTINTERP_API bool
 save_hdf5_data (std::ostream& os, const octave_value& tc,
 		const std::string& name, const std::string& doc,
 		bool mark_as_global, bool save_as_floats);
--- a/src/ov-complex.h	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/ov-complex.h	Wed Jun 06 05:18:54 2007 +0000
@@ -48,7 +48,7 @@
 // Complex scalar values.
 
 class
-OCTAVE_API
+OCTINTERP_API
 octave_complex : public octave_base_scalar<Complex>
 {
 public:
--- a/src/ov-cx-mat.h	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/ov-cx-mat.h	Wed Jun 06 05:18:54 2007 +0000
@@ -49,6 +49,7 @@
 // Complex matrix values.
 
 class
+OCTINTERP_API
 octave_complex_matrix : public octave_base_matrix<ComplexNDArray>
 {
 public:
--- a/src/ov-intx.h	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/ov-intx.h	Wed Jun 06 05:18:54 2007 +0000
@@ -39,6 +39,7 @@
 #include "gripes.h"
 
 class
+OCTINTERP_API
 OCTAVE_VALUE_INT_MATRIX_T
   : public octave_base_int_matrix<OCTAVE_INT_NDARRAY_T>
 {
@@ -231,6 +232,7 @@
 };
 
 class
+OCTINTERP_API
 OCTAVE_VALUE_INT_SCALAR_T
   : public octave_base_int_scalar<OCTAVE_INT_T>
 {
--- a/src/sysdep.h	Tue Jun 05 06:07:10 2007 +0000
+++ b/src/sysdep.h	Wed Jun 06 05:18:54 2007 +0000
@@ -35,7 +35,7 @@
 
 extern void raw_mode (bool, bool wait = true);
 
-extern int octave_kbhit (bool wait = true);
+extern OCTINTERP_API int octave_kbhit (bool wait = true);
 
 extern void w32_set_quiet_shutdown (void);