23 lines
963 B
Diff
23 lines
963 B
Diff
--- lldb-15.0.5.src/bindings/lua/lua-typemaps.swig.orig 2022-11-26 16:36:43.056461280 +0100
|
|
+++ lldb-15.0.5.src/bindings/lua/lua-typemaps.swig 2022-11-26 16:41:06.429936473 +0100
|
|
@@ -247,7 +247,7 @@
|
|
// Typemap for file handles (e.g. used in SBDebugger::GetOutputFileHandle)
|
|
|
|
%typemap(out) lldb::FileSP {
|
|
- lldb::FileSP &sp = $1;
|
|
+ const lldb::FileSP &sp = $1;
|
|
if (sp && sp->IsValid()) {
|
|
luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
|
|
p->closef = &LLDBSwigLuaCloseFileHandle;
|
|
--- lldb-15.0.5.src/bindings/python/python-typemaps.swig.orig 2022-11-26 16:35:16.128979395 +0100
|
|
+++ lldb-15.0.5.src/bindings/python/python-typemaps.swig 2022-11-26 16:35:23.787933379 +0100
|
|
@@ -435,7 +435,7 @@
|
|
|
|
%typemap(out) lldb::FileSP {
|
|
$result = nullptr;
|
|
- lldb::FileSP &sp = $1;
|
|
+ const lldb::FileSP &sp = $1;
|
|
if (sp) {
|
|
PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp));
|
|
if (!pyfile.IsValid())
|