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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
0c2cc2a2
Commit
0c2cc2a2
authored
May 19, 2011
by
dalcinl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix C++ wrap tests by cincluding the *.cpp source
parent
2e3bcd4b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
tests/wrappers/cpp_overload_wrapper_lib.h
tests/wrappers/cpp_overload_wrapper_lib.h
+3
-1
tests/wrappers/cpp_overload_wrapper_lib.pxd
tests/wrappers/cpp_overload_wrapper_lib.pxd
+2
-1
tests/wrappers/cppwrap_lib.h
tests/wrappers/cppwrap_lib.h
+3
-1
tests/wrappers/cppwrap_lib.pxd
tests/wrappers/cppwrap_lib.pxd
+2
-1
No files found.
tests/wrappers/cpp_overload_wrapper_lib.h
View file @
0c2cc2a2
#ifndef CPP_OVERLOAD_WRAPPER_LIB_H
#define CPP_OVERLOAD_WRAPPER_LIB_H
void
voidfunc
(
void
);
void
voidfunc
(
void
);
double
doublefunc
(
double
a
,
double
b
,
double
c
);
double
doublefunc
(
double
a
,
double
b
,
double
c
);
...
@@ -20,3 +21,4 @@ public:
...
@@ -20,3 +21,4 @@ public:
};
};
double
transmogrify_from_cpp
(
DoubleKeeper
const
*
obj
,
double
value
);
double
transmogrify_from_cpp
(
DoubleKeeper
const
*
obj
,
double
value
);
#endif
tests/wrappers/cpp_overload_wrapper_lib.pxd
View file @
0c2cc2a2
cdef
extern
from
"cpp_overload_wrapper_lib.cpp"
:
pass
cdef
extern
from
"cpp_overload_wrapper_lib.h"
:
cdef
extern
from
"cpp_overload_wrapper_lib.h"
:
void
voidfunc
()
void
voidfunc
()
double
doublefunc
(
double
a
,
double
b
,
double
c
)
double
doublefunc
(
double
a
,
double
b
,
double
c
)
...
...
tests/wrappers/cppwrap_lib.h
View file @
0c2cc2a2
#ifndef CPPWRAP_LIB_H
#define CPPWRAP_LIB_H
void
voidfunc
(
void
);
void
voidfunc
(
void
);
double
doublefunc
(
double
a
,
double
b
,
double
c
);
double
doublefunc
(
double
a
,
double
b
,
double
c
);
...
@@ -18,3 +19,4 @@ public:
...
@@ -18,3 +19,4 @@ public:
};
};
double
transmogrify_from_cpp
(
DoubleKeeper
const
*
obj
,
double
value
);
double
transmogrify_from_cpp
(
DoubleKeeper
const
*
obj
,
double
value
);
#endif
tests/wrappers/cppwrap_lib.pxd
View file @
0c2cc2a2
cdef
extern
from
"cppwrap_lib.cpp"
:
pass
cdef
extern
from
"cppwrap_lib.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