diff liboctave/Sparse.h @ 6108:143b556ce725

[project @ 2006-10-27 01:45:54 by jwe]
author jwe
date Fri, 27 Oct 2006 01:45:56 +0000
parents c20eb7330d13
children 0ce71beb1cf3
line wrap: on
line diff
--- a/liboctave/Sparse.h	Thu Oct 26 22:00:12 2006 +0000
+++ b/liboctave/Sparse.h	Fri Oct 27 01:45:56 2006 +0000
@@ -48,7 +48,7 @@
   // The real representation of all Sparse arrays.
   //--------------------------------------------------------------------
 
-  class SparseRep
+  class OCTAVE_API SparseRep
   {
   public:
 
@@ -529,11 +529,11 @@
 assign1 (Sparse<LT>& lhs, const Sparse<RT>& rhs);
 
 #define INSTANTIATE_SPARSE_ASSIGN(LT, RT) \
-  template int assign (Sparse<LT>&, const Sparse<RT>&); \
-  template int assign1 (Sparse<LT>&, const Sparse<RT>&);
+  template OCTAVE_API int assign (Sparse<LT>&, const Sparse<RT>&); \
+  template OCTAVE_API int assign1 (Sparse<LT>&, const Sparse<RT>&);
 
 #define INSTANTIATE_SPARSE(T) \
-  template class Sparse<T>;
+  template class OCTAVE_API Sparse<T>;
 
 #define INSTANTIATE_SPARSE_AND_ASSIGN(T) \
   INSTANTIATE_SPARSE (T); \