Cleanup and python 3.13

This commit is contained in:
Mario Fetka
2025-05-05 10:23:40 +02:00
parent 7c1ee4ca45
commit b56141d74d
121 changed files with 9006 additions and 479 deletions

View File

@@ -0,0 +1,11 @@
https://bugs.gentoo.org/878395
--- a/bindings/cxx/enums.py
+++ b/bindings/cxx/enums.py
@@ -73,6 +73,8 @@
code = open(os.path.join(outdirname, 'cxx/enums.cpp'), 'w')
swig = open(os.path.join(outdirname, 'swig/enums.i'), 'w')
+print('%include "attribute.i" \n', file=swig)
+
for file in (header, code):
print("/* Generated file - edit enums.py instead! */", file=file)