Fix a mismatch between method signature in scripting/python_scripting.cpp and scripting/python_scripting.h

This commit is contained in:
Jean-Samuel Reynaud 2014-03-28 07:27:58 -05:00 committed by Dick Hollenbeck
parent 0449258761
commit 47b5bdcd47
2 changed files with 1 additions and 3 deletions

View File

@ -483,9 +483,7 @@ void IFACE::OnKifaceEnd()
// wxPython will do its own cleanup as part of that process. // wxPython will do its own cleanup as part of that process.
// This should only be called if python was setup correctly. // This should only be called if python was setup correctly.
/* bring this in, but without a linker error:
pcbnewFinishPythonScripting(); pcbnewFinishPythonScripting();
*/
#endif #endif
} }

View File

@ -172,7 +172,7 @@ bool pcbnewInitPythonScripting( const char * aUserPluginsPath )
} }
void pcbnewFinishPythonScripting( char ) void pcbnewFinishPythonScripting()
{ {
#ifdef KICAD_SCRIPTING_WXPYTHON #ifdef KICAD_SCRIPTING_WXPYTHON
wxPyEndAllowThreads( g_PythonMainTState ); wxPyEndAllowThreads( g_PythonMainTState );