From: Stefan Behnel Date: Sun, 21 Feb 2010 13:20:18 +0000 (+0100) Subject: fix wrapper tests, now that the compiler is fixed X-Git-Tag: 0.13.beta0~319^2~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c972630de750b0928f62f22b900912c46ca414bf;p=cython.git fix wrapper tests, now that the compiler is fixed --- diff --git a/tests/bugs.txt b/tests/bugs.txt index bcf266f3..33339703 100644 --- a/tests/bugs.txt +++ b/tests/bugs.txt @@ -9,5 +9,4 @@ missing_baseclass_in_predecl_T262 cfunc_call_tuple_args_T408 cascaded_list_unpacking_T467 compile.cpp_operators -cppwrap cpp_overload_wrapper diff --git a/tests/wrappers/cppwrap_lib.cpp b/tests/wrappers/cppwrap_lib.cpp index 3668120b..ce509e92 100644 --- a/tests/wrappers/cppwrap_lib.cpp +++ b/tests/wrappers/cppwrap_lib.cpp @@ -10,12 +10,6 @@ double doublefunc (double a, double b, double c) return a + b + c; } - -DoubleKeeper::DoubleKeeper () - : number (1.0) -{ -} - DoubleKeeper::DoubleKeeper (double factor) : number (factor) { @@ -35,11 +29,6 @@ void DoubleKeeper::set_number (double f) number = f; } -void DoubleKeeper::set_number () -{ - number = 1.0; -} - double DoubleKeeper::transmogrify (double value) const { diff --git a/tests/wrappers/cppwrap_lib.pxd b/tests/wrappers/cppwrap_lib.pxd index 405c808e..5f231317 100644 --- a/tests/wrappers/cppwrap_lib.pxd +++ b/tests/wrappers/cppwrap_lib.pxd @@ -1,5 +1,5 @@ -cdef extern from "testapi.h": +cdef extern from "cppwrap_lib.h": void voidfunc() double doublefunc(double a, double b, double c)