SWIG Version 2.0.8
class A{ public: A(uint32_t a = 32UL) : a(a) {} uint32_t a; };
will get the 'UL' suffix in python wrapper too, which generate syntax error in python.
SWIG 4.0.2 generates a working .py with:
.py
def __init__(self, a=32):
Log in to post a comment.
SWIG 4.0.2 generates a working
.py
with: