From c972630de750b0928f62f22b900912c46ca414bf Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 21 Feb 2010 14:20:18 +0100 Subject: [PATCH] fix wrapper tests, now that the compiler is fixed --- tests/bugs.txt | 1 - tests/wrappers/cppwrap_lib.cpp | 11 ----------- tests/wrappers/cppwrap_lib.pxd | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) 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) -- 2.26.2