Add LIBPBD_API to a function declaration
authorJohn Emmas <johne53@tiscali.co.uk>
Thu, 8 Dec 2016 17:27:12 +0000 (17:27 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Thu, 8 Dec 2016 17:29:49 +0000 (17:29 +0000)
commit61693a318a2a7f3e5e633064925dc01e9f0df175
tree8fbc8313627da90c52f80eb9a2636882af0d92f6
parent3242bbd84c70b497810480cd7b7780cb4658d088
Add LIBPBD_API to a function declaration

The new specialisation for ConfigVariable<float>::set_from_string() needs to be exportable (it gets used somehow by ARDOUR::SessionConfiguration).

If adding LIBPBD_API causes a problem for gcc, we could change it to LIBPBD_TEMPLATE_MEMBER_API
libs/pbd/pbd/configuration_variable.h