mirror of
https://github.com/dgibson/dtc.git
synced 2026-10-09 23:53:08 -04:00
SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_*, PyString_*) from its runtime header pyhead.swg (see commit 79f7a2b7cb7d). Replace them with their Python 3 C API equivalents: - PyString_FromString -> PyUnicode_FromString - PyString_AsString -> PyBytes_AsString - PyInt_AsLong -> PyLong_AsLong The replacements are safe since the macros were already aliased to these exact functions in SWIG's Python 3 code path. Signed-off-by: Jitka Plesnikova <jplesnik@redhat.com> Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| libfdt.i | ||
| meson.build | ||