Minor visibility changes to libevoral (template objects can be exported in libevoral because they're always instantiated in the actual DLL).
This commit is contained in:
parent
abab819bb3
commit
34ebb682a4
@ -33,7 +33,11 @@ namespace Evoral {
|
||||
* Currently a note is defined as (on event, length, off event).
|
||||
*/
|
||||
template<typename Time>
|
||||
#ifdef COMPILER_MSVC
|
||||
class LIBEVORAL_LOCAL Note {
|
||||
#else
|
||||
class LIBEVORAL_TEMPLATE_API Note {
|
||||
#endif
|
||||
public:
|
||||
Note(uint8_t chan=0, Time time=0, Time len=0, uint8_t note=0, uint8_t vel=0x40);
|
||||
Note(const Note<Time>& copy);
|
||||
|
@ -24,8 +24,8 @@
|
||||
#define LIBEVORAL_DLL_IMPORT __declspec(dllimport)
|
||||
#define LIBEVORAL_DLL_EXPORT __declspec(dllexport)
|
||||
#define LIBEVORAL_DLL_LOCAL
|
||||
#define LIBEVORAL_TEMPLATE_DLL_IMPORT
|
||||
#define LIBEVORAL_TEMPLATE_DLL_EXPORT
|
||||
#define LIBEVORAL_TEMPLATE_DLL_IMPORT __declspec(dllimport)
|
||||
#define LIBEVORAL_TEMPLATE_DLL_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIBEVORAL_DLL_IMPORT __attribute__ ((visibility ("default")))
|
||||
#define LIBEVORAL_DLL_EXPORT __attribute__ ((visibility ("default")))
|
||||
|
Loading…
Reference in New Issue
Block a user