-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main/u-boot-tools: update to 2024.10
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- a/scripts/dtc/pylibfdt/libfdt.i_shipped | ||
+++ b/scripts/dtc/pylibfdt/libfdt.i_shipped | ||
@@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t; | ||
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 @@ typedef uint32_t fdt32_t; | ||
|
||
%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 @@ typedef uint32_t fdt32_t; | ||
if (PyTuple_GET_SIZE(resultobj) == 0) | ||
resultobj = val; | ||
else | ||
- resultobj = SWIG_Python_AppendOutput(resultobj, val); | ||
+ resultobj = SWIG_AppendOutput(resultobj, val); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters