[Python] Remove Python include from ScriptInterpreterPython.h
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 29 Mar 2019 20:17:20 +0000 (20:17 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 29 Mar 2019 20:17:20 +0000 (20:17 +0000)
commit63dd5d251846b1865273cd8fdfa299aa473e5b76
tree8085983faa52c0c08c3740c50f7e74facf7f813d
parentc7c6413119380828d92e8beb5fb2f35d3f2e1572
[Python] Remove Python include from ScriptInterpreterPython.h

This patch limits the scope of the python header to the implementation
of the python script interpreter plugin. ScriptInterpreterPython is now
an abstract interface that doesn't expose any Python specific types, and
is implemented by the ScriptInterpreterPythonImpl.

Differential revision: https://reviews.llvm.org/D59976

llvm-svn: 357307
lldb/source/API/SBHostOS.cpp
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h [new file with mode: 0644]
lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h