diff liboctave/numeric/schur.cc @ 29228:5c14f81e0937

Set API tags in files in liboctave/numeric (patch #8919). Add API tag to template class definitions. Add API tag to (un-defined) functions and member functions in headers. Export template class instantiations and template functions from .cc files.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 29 Dec 2020 17:51:23 +0100
parents bd51beb6205e
children 7854d5752dd2
line wrap: on
line diff
--- a/liboctave/numeric/schur.cc	Tue Dec 29 17:41:39 2020 +0100
+++ b/liboctave/numeric/schur.cc	Tue Dec 29 17:51:23 2020 +0100
@@ -98,7 +98,7 @@
     }
 
     template <>
-    F77_INT
+    OCTAVE_API F77_INT
     schur<Matrix>::init (const Matrix& a, const std::string& ord, bool calc_unitary)
     {
       F77_INT a_nr = to_f77_int (a.rows ());
@@ -184,7 +184,7 @@
     }
 
     template <>
-    F77_INT
+    OCTAVE_API F77_INT
     schur<FloatMatrix>::init (const FloatMatrix& a, const std::string& ord,
                               bool calc_unitary)
     {
@@ -271,7 +271,7 @@
     }
 
     template <>
-    F77_INT
+    OCTAVE_API F77_INT
     schur<ComplexMatrix>::init (const ComplexMatrix& a, const std::string& ord,
                                 bool calc_unitary)
     {
@@ -354,7 +354,7 @@
     }
 
     template <>
-    schur<ComplexMatrix>
+    OCTAVE_API schur<ComplexMatrix>
     rsf2csf<ComplexMatrix, Matrix> (const Matrix& s_arg, const Matrix& u_arg)
     {
       ComplexMatrix s (s_arg);
@@ -379,7 +379,7 @@
     }
 
     template <>
-    F77_INT
+    OCTAVE_API F77_INT
     schur<FloatComplexMatrix>::init (const FloatComplexMatrix& a,
                                      const std::string& ord, bool calc_unitary)
     {
@@ -462,7 +462,7 @@
     }
 
     template <>
-    schur<FloatComplexMatrix>
+    OCTAVE_API schur<FloatComplexMatrix>
     rsf2csf<FloatComplexMatrix, FloatMatrix> (const FloatMatrix& s_arg,
                                               const FloatMatrix& u_arg)
     {