File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,8 @@ class OpenRoad
291291
292292int tclAppInit (Tcl_Interp* interp);
293293int tclInit (Tcl_Interp* interp);
294+ #ifdef ENABLE_PYTHON3
294295void pyAppInit (bool exit_after_cmd_file);
296+ #endif
295297
296298} // namespace ord
Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ int main(int argc, char* argv[])
310310 return 0 ;
311311}
312312
313+ #ifdef ENABLE_PYTHON3
313314void ord::pyAppInit (const bool exit_after_cmd_file)
314315{
315316#if PY_VERSION_HEX >= 0x03080000
@@ -318,6 +319,7 @@ void ord::pyAppInit(const bool exit_after_cmd_file)
318319 initPython ();
319320#endif // PY_VERSION_HEX >= 0x03080000
320321}
322+ #endif
321323
322324#ifdef ENABLE_READLINE
323325static int tclReadlineInit (Tcl_Interp* interp)
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ std::string Descriptor::Property::toString(const std::any& /* value */)
160160// using namespace odb;
161161int startGui (int & argc,
162162 char * argv[],
163+ Interpreter interpreter,
163164 Tcl_Interp* interp,
164165 const std::string& script,
165166 bool interactive,
You can’t perform that action at this time.
0 commit comments