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/Atom.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/Atom.hpp')
-rw-r--r-- | ingen/Atom.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ingen/Atom.hpp b/ingen/Atom.hpp index 2e585a47..4275ce23 100644 --- a/ingen/Atom.hpp +++ b/ingen/Atom.hpp @@ -22,6 +22,7 @@ #include <cstring> #include <string> +#include "ingen/ingen.h" #include "lv2/lv2plug.in/ns/ext/atom/atom.h" #include "lv2/lv2plug.in/ns/ext/urid/urid.h" @@ -41,7 +42,7 @@ class Forge; In either case, the data is stored in a binary compatible format to LV2_Atom (i.e., if the value is dynamically allocated, the header is repeated there). */ -class Atom { +class INGEN_API Atom { public: Atom() { _atom.size = 0; _atom.type = 0; _body.ptr = NULL; } ~Atom() { dealloc(); } |