diff options
author | David Robillard <d@drobilla.net> | 2015-03-02 17:14:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-02 17:14:31 +0000 |
commit | e5da085b75ff7c33a10ac2b03434d487c47340f2 (patch) | |
tree | c59e52d7442dd735ec48dd0fc2d11e6838a15d6a /ingen/Module.hpp | |
parent | f69c75e637cc3c789a675d1811a2f632732bafc0 (diff) | |
download | ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.tar.gz ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.tar.bz2 ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.zip |
Fix compilation with -fvisibility=hidden.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5611 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/Module.hpp')
-rw-r--r-- | ingen/Module.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ingen/Module.hpp b/ingen/Module.hpp index cb3d90b2..3ec0d2a7 100644 --- a/ingen/Module.hpp +++ b/ingen/Module.hpp @@ -19,6 +19,8 @@ #include <glibmm/module.h> +#include "ingen/ingen.h" + namespace Ingen { class World; @@ -28,7 +30,8 @@ class World; * All components of Ingen reside in one of these. * @ingroup IngenShared */ -struct Module { +class INGEN_API Module { +public: Module() : library(NULL) {} virtual ~Module() {} @@ -53,7 +56,7 @@ private: extern "C" { /** Prototype for the ingen_module_load() entry point in an ingen module. */ -Ingen::Module* ingen_module_load(); +INGEN_API Ingen::Module* ingen_module_load(); } |