Switch the ScriptedBreakpointResolver over to the ScriptedInterface form (#150720)
This is NFC, I'm modernizing the interface before I add to it in a subsequent commit.
This commit is contained in:
1 parent
6bcff9eb13
commit
4c8e79f815
22 files changed
+328
-217
No files matched your search
@@ -432,6 +432,10 @@ protected:
|
||||
return python::SWIGBridge::ToSWIGWrapper(arg);
|
||||
}
|
||||
|
||||
python::PythonObject Transform(lldb::BreakpointSP arg) {
|
||||
return python::SWIGBridge::ToSWIGWrapper(arg);
|
||||
}
|
||||
|
||||
python::PythonObject Transform(lldb::ProcessSP arg) {
|
||||
return python::SWIGBridge::ToSWIGWrapper(arg);
|
||||
}
|
||||
@@ -452,6 +456,10 @@ protected:
|
||||
return python::SWIGBridge::ToSWIGWrapper(arg);
|
||||
}
|
||||
|
||||
python::PythonObject Transform(const SymbolContext &arg) {
|
||||
return python::SWIGBridge::ToSWIGWrapper(arg);
|
||||
}
|
||||
|
||||
python::PythonObject Transform(lldb::StreamSP arg) {
|
||||
return python::SWIGBridge::ToSWIGWrapper(arg.get());
|
||||
}
|
||||
@@ -555,6 +563,11 @@ template <>
|
||||
Event *ScriptedPythonInterface::ExtractValueFromPythonObject<Event *>(
|
||||
python::PythonObject &p, Status &error);
|
||||
|
||||
template <>
|
||||
SymbolContext
|
||||
ScriptedPythonInterface::ExtractValueFromPythonObject<SymbolContext>(
|
||||
python::PythonObject &p, Status &error);
|
||||
|
||||
template <>
|
||||
lldb::StreamSP
|
||||
ScriptedPythonInterface::ExtractValueFromPythonObject<lldb::StreamSP>(
|
||||
|
||||
Reference in new issue
Block a user