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
fa0a8e3a
Commit
fa0a8e3a
authored
May 16, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
9cb1c32f
6d3aa1bd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
0 deletions
+29
-0
tests/bugs.txt
tests/bugs.txt
+2
-0
tests/compile/cpp_structs.pyx
tests/compile/cpp_structs.pyx
+9
-0
tests/compile/cpp_templated_ctypedef.pyx
tests/compile/cpp_templated_ctypedef.pyx
+4
-0
tests/compile/point.h
tests/compile/point.h
+14
-0
No files found.
tests/bugs.txt
View file @
fa0a8e3a
...
...
@@ -9,6 +9,8 @@ missing_baseclass_in_predecl_T262
cfunc_call_tuple_args_T408
cascaded_list_unpacking_T467
compile.cpp_operators
cpp_templated_ctypedef
cpp_structs
# CPython regression tests that don't current work:
pyregr.test_threadsignals
...
...
tests/compile/cpp_structs.pyx
0 → 100644
View file @
fa0a8e3a
cdef
extern
from
"point.h"
namespace
"geometry"
:
cdef
struct
Point
:
double
x
double
y
int
color
cdef
Point
p
=
Point
(
0.0
,
0.0
,
0
)
the_point
=
p
tests/compile/cpp_templated_ctypedef.pyx
0 → 100644
View file @
fa0a8e3a
cdef
extern
from
*
:
cdef
cppclass
Foo
[
T
]:
pass
ctypedef
Foo
[
int
]
IntFoo
tests/compile/point.h
0 → 100644
View file @
fa0a8e3a
#ifndef POINT_H
#define POINT_H
namespace
geometry
{
struct
Point
{
double
x
;
double
y
;
int
color
;
};
}
#endif
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