From: Robert Bradshaw Date: Fri, 5 Oct 2012 23:01:33 +0000 (-0700) Subject: Fix specialization for varargs function signatures. X-Git-Tag: 0.18b1~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97881828c84f7d626f921b69ba4fd34fd8149c9e;p=platform%2Fupstream%2Fpython-cython.git Fix specialization for varargs function signatures. --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index e56018f..74f53f1 100755 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -2644,7 +2644,7 @@ class CFuncType(CType): result = CFuncType(self.return_type.specialize(values), [arg.specialize(values) for arg in self.args], - has_varargs = 0, + has_varargs = self.has_varargs, exception_value = self.exception_value, exception_check = self.exception_check, calling_convention = self.calling_convention,