[libpeas/msvc: 4/8] tests/libpeas/plugins/embedded: Mark API for export



commit 9b59c7ae4d44d544f82df3518669e010a7298b47
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Oct 17 00:38:09 2018 +0800

    tests/libpeas/plugins/embedded: Mark API for export
    
    Some test programs need symbols from this plugin DLL, so mark it so that
    we can export using compiler directives, if needed.

 tests/libpeas/plugins/embedded/embedded-plugin.h | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/libpeas/plugins/embedded/embedded-plugin.h 
b/tests/libpeas/plugins/embedded/embedded-plugin.h
index b4111e5..73b098f 100644
--- a/tests/libpeas/plugins/embedded/embedded-plugin.h
+++ b/tests/libpeas/plugins/embedded/embedded-plugin.h
@@ -44,6 +44,7 @@ struct _TestingEmbeddedPluginClass {
   PeasExtensionBaseClass parent_class;
 };
 
+_PEAS_EXTERN
 GType                testing_embedded_plugin_get_type       (void) G_GNUC_CONST;
 G_MODULE_EXPORT void testing_embedded_plugin_register_types (PeasObjectModule *module);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]