blob: 81cde5ec7d9e79e011076f77b8dd92800544b0b0 [file]
from constructor_rename import *
from swig_test_utils import swig_check, swig_check_stub_declares
x = RenamedConstructor()
swig_check(x.answer(), 42)
# A renamed constructor is wrapped as a module scope function, so the stub has to declare it as one
swig_check_stub_declares("constructor_rename", "RenamedConstructor")