mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Remove extern declarations from .cpp files...
... Require the declarations to be in .h files, to be sure graph.pl detects the dependencies. Only one more #include was needed in Nyquist.cpp. This doesn't reveal any more hidden cycles.
This commit is contained in:
@@ -89,11 +89,6 @@ void ScriptCommandRelay::StartScriptServer(tpRegScriptServerFunc scriptFn)
|
||||
std::thread(server, scriptFn).detach();
|
||||
}
|
||||
|
||||
// The void * return is actually a Lisp LVAL and will be cast to such as needed.
|
||||
extern void * ExecForLisp( char * pIn );
|
||||
extern void * nyq_make_opaque_string( int size, unsigned char *src );
|
||||
extern void * nyq_reformat_aud_do_response(const wxString & Str);
|
||||
|
||||
void * ExecForLisp( char * pIn )
|
||||
{
|
||||
wxString Str1(pIn);
|
||||
|
||||
@@ -31,4 +31,9 @@ public:
|
||||
static void StartScriptServer(tpRegScriptServerFunc scriptFn);
|
||||
};
|
||||
|
||||
// The void * return is actually a Lisp LVAL and will be cast to such as needed.
|
||||
extern void * ExecForLisp( char * pIn );
|
||||
extern void * nyq_make_opaque_string( int size, unsigned char *src );
|
||||
extern void * nyq_reformat_aud_do_response(const wxString & Str);
|
||||
|
||||
#endif /* End of include guard: __SCRIPT_COMMAND_RELAY__ */
|
||||
|
||||
Reference in New Issue
Block a user