Browse Source

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

pull/1/head
Jean-Samuel Reynaud 12 years ago
committed by Dick Hollenbeck
parent
commit
47b5bdcd47
  1. 2
      pcbnew/pcbnew.cpp
  2. 2
      scripting/python_scripting.cpp

2
pcbnew/pcbnew.cpp

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

2
scripting/python_scripting.cpp

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

Loading…
Cancel
Save