2025-06-28 22:21:33 +02:00

31 lines
1.1 KiB
Diff

diff '--color=auto' -Naur v2024.01_or/scripts/dtc/pylibfdt/libfdt.i_shipped v2024.01/scripts/dtc/pylibfdt/libfdt.i_shipped
--- v2024.01_or/scripts/dtc/pylibfdt/libfdt.i_shipped 2025-05-28 19:07:57.751403989 +0200
+++ v2024.01/scripts/dtc/pylibfdt/libfdt.i_shipped 2025-05-28 19:09:19.378749680 +0200
@@ -1037,7 +1037,7 @@
fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
buff = PyByteArray_FromStringAndSize(
(const char *)($1 + 1), fdt32_to_cpu($1->len));
- resultobj = SWIG_Python_AppendOutput(resultobj, buff);
+ resultobj = SWIG_AppendOutput(resultobj, buff);
}
}
@@ -1076,7 +1076,7 @@
%typemap(argout) int *depth {
PyObject *val = Py_BuildValue("i", *arg$argnum);
- resultobj = SWIG_Python_AppendOutput(resultobj, val);
+ resultobj = SWIG_AppendOutput(resultobj, val);
}
%apply int *depth { int *depth };
@@ -1092,7 +1092,7 @@
if (PyTuple_GET_SIZE(resultobj) == 0)
resultobj = val;
else
- resultobj = SWIG_Python_AppendOutput(resultobj, val);
+ resultobj = SWIG_AppendOutput(resultobj, val);
}
}