Kaynağa Gözat

Export deprecated free methods too.

That way they can be linked to even after being deprecated.
Stephen Kelly 14 yıl önce
ebeveyn
işleme
3f7e03643d

+ 1 - 1
Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h

@@ -49,7 +49,7 @@ public:
 
 
 LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported();
 LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported();
 
 
-LIBSHARED_AND_STATIC_DEPRECATED int libshared_and_static_deprecated();
+LIBSHARED_AND_STATIC_DEPRECATED_EXPORT int libshared_and_static_deprecated();
 
 
 int libshared_and_static_not_exported();
 int libshared_and_static_not_exported();
 
 

+ 1 - 1
Tests/Module/GenerateExportHeader/libstatic/libstatic.h

@@ -45,7 +45,7 @@ public:
 
 
 LIBSTATIC_EXPORT int libstatic_exported();
 LIBSTATIC_EXPORT int libstatic_exported();
 
 
-LIBSTATIC_DEPRECATED int libstatic_deprecated();
+LIBSTATIC_DEPRECATED_EXPORT int libstatic_deprecated();
 
 
 int libstatic_not_exported();
 int libstatic_not_exported();