]> git.dujemihanovic.xyz Git - u-boot.git/commit
scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput
authorMarkus Volk <f_l_k@t-online.de>
Wed, 30 Oct 2024 05:07:16 +0000 (06:07 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 30 Oct 2024 19:02:53 +0000 (13:02 -0600)
commita63456b9191fae2fe49f4b121e025792022e3950
tree31869de08a53d6380652bca4de8d64e8d75e37a8
parente26d2cab4285d2953879054a4ff6955fb756a6d4
scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput

Swig has changed language specific AppendOutput functions. The helper
macro SWIG_AppendOutput remains unchanged. Use that instead
of SWIG_Python_AppendOutput, which would require an extra parameter
since swig 4.3.0.

/home/flk/poky/build-test/tmp/work/qemux86_64-poky-linux/u-boot/2024.10/git/arch/x86/cpu/u-boot-64.lds
| scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
| scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
|  5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Reported-by: Rudi Heitbaum <rudi@heitbaum.com>
Link: https://github.com/dgibson/dtc/pull/154
scripts/dtc/pylibfdt/libfdt.i_shipped