From 97881828c84f7d626f921b69ba4fd34fd8149c9e Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 5 Oct 2012 16:01:33 -0700 Subject: [PATCH] Fix specialization for varargs function signatures. --- Cython/Compiler/PyrexTypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.7.4