Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
c972630d
Commit
c972630d
authored
Feb 21, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrapper tests, now that the compiler is fixed
parent
015b5fd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
13 deletions
+1
-13
tests/bugs.txt
tests/bugs.txt
+0
-1
tests/wrappers/cppwrap_lib.cpp
tests/wrappers/cppwrap_lib.cpp
+0
-11
tests/wrappers/cppwrap_lib.pxd
tests/wrappers/cppwrap_lib.pxd
+1
-1
No files found.
tests/bugs.txt
View file @
c972630d
...
@@ -9,5 +9,4 @@ missing_baseclass_in_predecl_T262
...
@@ -9,5 +9,4 @@ missing_baseclass_in_predecl_T262
cfunc_call_tuple_args_T408
cfunc_call_tuple_args_T408
cascaded_list_unpacking_T467
cascaded_list_unpacking_T467
compile.cpp_operators
compile.cpp_operators
cppwrap
cpp_overload_wrapper
cpp_overload_wrapper
tests/wrappers/cppwrap_lib.cpp
View file @
c972630d
...
@@ -10,12 +10,6 @@ double doublefunc (double a, double b, double c)
...
@@ -10,12 +10,6 @@ double doublefunc (double a, double b, double c)
return
a
+
b
+
c
;
return
a
+
b
+
c
;
}
}
DoubleKeeper
::
DoubleKeeper
()
:
number
(
1.0
)
{
}
DoubleKeeper
::
DoubleKeeper
(
double
factor
)
DoubleKeeper
::
DoubleKeeper
(
double
factor
)
:
number
(
factor
)
:
number
(
factor
)
{
{
...
@@ -35,11 +29,6 @@ void DoubleKeeper::set_number (double f)
...
@@ -35,11 +29,6 @@ void DoubleKeeper::set_number (double f)
number
=
f
;
number
=
f
;
}
}
void
DoubleKeeper
::
set_number
()
{
number
=
1.0
;
}
double
double
DoubleKeeper
::
transmogrify
(
double
value
)
const
DoubleKeeper
::
transmogrify
(
double
value
)
const
{
{
...
...
tests/wrappers/cppwrap_lib.pxd
View file @
c972630d
cdef
extern
from
"
testapi
.h"
:
cdef
extern
from
"
cppwrap_lib
.h"
:
void
voidfunc
()
void
voidfunc
()
double
doublefunc
(
double
a
,
double
b
,
double
c
)
double
doublefunc
(
double
a
,
double
b
,
double
c
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment