mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Define and use PROFILE_DLL_API
This commit is contained in:
@@ -120,6 +120,15 @@ void QuitAudacity();
|
||||
#endif
|
||||
#endif //_MSC_VER
|
||||
|
||||
// Put extra symbol information in the release build, for the purpose of gathering
|
||||
// profiling information (as from Windows Process Monitor), when there otherwise
|
||||
// isn't a need for AUDACITY_DLL_API.
|
||||
#if IS_ALPHA
|
||||
#define PROFILE_DLL_API AUDACITY_DLL_API
|
||||
#else
|
||||
#define PROFILE_DLL_API
|
||||
#endif
|
||||
|
||||
/* The GCC-elf implementation */
|
||||
#ifdef HAVE_VISIBILITY // this is provided by the configure script, is only
|
||||
// enabled for suitable GCC versions
|
||||
|
@@ -38,7 +38,7 @@ class SummaryInfo {
|
||||
|
||||
|
||||
|
||||
class BlockFile /* not final */ {
|
||||
class PROFILE_DLL_API BlockFile /* not final */ {
|
||||
public:
|
||||
|
||||
// Constructor / Destructor
|
||||
|
@@ -34,7 +34,7 @@ WX_DECLARE_HASH_MAP(wxString, BlockFile*, wxStringHash, wxStringEqual, BlockHash
|
||||
|
||||
wxMemorySize GetFreeMemory();
|
||||
|
||||
class DirManager final : public XMLTagHandler {
|
||||
class PROFILE_DLL_API DirManager final : public XMLTagHandler {
|
||||
public:
|
||||
|
||||
// MM: Construct DirManager with refcount=1
|
||||
|
@@ -55,7 +55,7 @@ class SeqBlock {
|
||||
class BlockArray : public std::vector<SeqBlock> {};
|
||||
using BlockPtrArray = std::vector<SeqBlock*>; // non-owning pointers
|
||||
|
||||
class Sequence final : public XMLTagHandler {
|
||||
class PROFILE_DLL_API Sequence final : public XMLTagHandler{
|
||||
public:
|
||||
|
||||
//
|
||||
|
@@ -42,7 +42,7 @@ typedef struct {
|
||||
wxUint32 channels; // number of interleaved channels
|
||||
} auHeader;
|
||||
|
||||
class SimpleBlockFile /* not final */ : public BlockFile {
|
||||
class PROFILE_DLL_API SimpleBlockFile /* not final */ : public BlockFile {
|
||||
public:
|
||||
|
||||
// Constructor / Destructor
|
||||
|
Reference in New Issue
Block a user