1
0
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:
Paul Licameli
2020-05-26 19:37:11 -04:00
parent 0eafcd112b
commit f3d91f488e
10 changed files with 10 additions and 22 deletions

View File

@@ -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);