mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-02 06:40:12 +01:00
Remove macro making extern declaration of RegisterBuiltinModule...
... Forcing other places that use RegisterBuiltinModule to be more explicit about their link dependencies on ModuleManager, with a new #include directive. Does this make scripts/graph.pl show a new dependency cycle? Happily no. But now we know.
This commit is contained in:
@@ -141,11 +141,6 @@ public:
|
||||
// ----------------------------------------------------------------------------
|
||||
#define MODULE_ENTRY AudacityModule
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// The module entry point prototype
|
||||
// ----------------------------------------------------------------------------
|
||||
typedef ModuleInterface *(*ModuleMain)(const wxString *path);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// If BUILDING_AUDACITY is defined during the current build, it is assumed
|
||||
// that the module wishes to be embedded in the Audacity executable.
|
||||
@@ -170,7 +165,6 @@ static ModuleInterface * name(const wxString *path)
|
||||
// method must be supplied explicitly.
|
||||
// ----------------------------------------------------------------------------
|
||||
#define DECLARE_BUILTIN_MODULE_BASE(name) \
|
||||
extern void RegisterBuiltinModule(ModuleMain rtn); \
|
||||
class name \
|
||||
{ \
|
||||
public: \
|
||||
|
||||
Reference in New Issue
Block a user