changeset 31473:681201d7ce29 stable

pr-output.h: Fix API attributes. * libinterp/corefcn/pr-output.h: Add API attributes to function declarations. Remove API attributes from function definitions.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 18 Nov 2022 16:58:47 +0100
parents 2b83190294b5
children d6fd7833f861 77072a5e99a5
files libinterp/corefcn/pr-output.h
diffstat 1 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/pr-output.h	Thu Nov 17 14:12:30 2022 -0800
+++ b/libinterp/corefcn/pr-output.h	Fri Nov 18 16:58:47 2022 +0100
@@ -384,12 +384,12 @@
                        bool pr_as_read_syntax = false,
                        int extra_indent = 0);
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<int8_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<int8_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -397,12 +397,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<uint8_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<uint8_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -410,12 +410,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<int16_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<int16_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -423,12 +423,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<uint16_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<uint16_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -436,12 +436,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<int32_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<int32_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -449,12 +449,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<uint32_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<uint32_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -462,12 +462,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<int64_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<int64_t>& sa,
                        bool pr_as_read_syntax = false)
 {
@@ -475,12 +475,12 @@
   octave_print_internal (os, fmt, sa, pr_as_read_syntax);
 }
 
-extern void
+extern OCTINTERP_API void
 octave_print_internal (std::ostream& os, const float_display_format&,
                        const octave_int<uint64_t>& sa,
                        bool pr_as_read_syntax = false);
 
-inline OCTINTERP_API void
+inline void
 octave_print_internal (std::ostream& os, const octave_int<uint64_t>& sa,
                        bool pr_as_read_syntax = false)
 {