summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBCommandInterpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBCommandInterpreter.cpp')
-rw-r--r--lldb/source/API/SBCommandInterpreter.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/lldb/source/API/SBCommandInterpreter.cpp b/lldb/source/API/SBCommandInterpreter.cpp
index 8a15423c324..ec2653d909e 100644
--- a/lldb/source/API/SBCommandInterpreter.cpp
+++ b/lldb/source/API/SBCommandInterpreter.cpp
@@ -358,6 +358,13 @@ extern "C" bool LLDBSwigPythonCallCommand
lldb_private::CommandReturnObject& cmd_retobj
);
+extern "C" bool LLDBSwigPythonCallModuleInit
+(
+ const std::string python_module_name,
+ const char *session_dictionary_name,
+ lldb::DebuggerSP& debugger
+);
+
extern "C" void init_lldb(void);
@@ -377,6 +384,7 @@ SBCommandInterpreter::InitializeSWIG ()
LLDBSwigPython_GetIndexOfChildWithName,
LLDBSWIGPython_CastPyObjectToSBValue,
LLDBSwigPython_UpdateSynthProviderInstance,
- LLDBSwigPythonCallCommand);
+ LLDBSwigPythonCallCommand,
+ LLDBSwigPythonCallModuleInit);
}
}
OpenPOWER on IntegriCloud