diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-07 18:40:03 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-07 18:40:03 +0000 |
commit | a6243587282a90104496f670d45f60a46f66c069 (patch) | |
tree | 36aa1c9e3f86cf0edd4e6d0d7106611d5df1d8f8 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
parent | 2d4d01d0deded905928f0281f9dc14622301b825 (diff) | |
download | bcm5719-llvm-a6243587282a90104496f670d45f60a46f66c069.tar.gz bcm5719-llvm-a6243587282a90104496f670d45f60a46f66c069.zip |
Added some comments to clarify where "init_lldb" comes from.
llvm-svn: 107801
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index d7a33639a32..aac3dd814d9 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -37,6 +37,8 @@ #include "lldb/Core/Debugger.h" #include "lldb/Target/Process.h" +// This function is in the C++ output file generated by SWIG after it is +// run on all of the headers in "lldb/API/SB*.h" extern "C" void init_lldb (void); using namespace lldb; @@ -183,6 +185,8 @@ ScriptInterpreterPython::ScriptInterpreterPython (CommandInterpreter &interprete m_compiled_module = static_cast<void*>(compiled_module); + // This function is in the C++ output file generated by SWIG after it is + // run on all of the headers in "lldb/API/SB*.h" init_lldb (); // Update the path python uses to search for modules to include the current directory. |