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
637d6bd5
Commit
637d6bd5
authored
Nov 17, 2017
by
Jeroen Demeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use verbatim includes to simplify some tests.
parent
40f6de80
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
tests/compile/cnamespec.h
tests/compile/cnamespec.h
+0
-1
tests/compile/cnamespec.pyx
tests/compile/cnamespec.pyx
+4
-1
tests/run/for_from_pyvar_loop_T601.pyx
tests/run/for_from_pyvar_loop_T601.pyx
+2
-1
tests/run/for_from_pyvar_loop_T601_extern_def.h
tests/run/for_from_pyvar_loop_T601_extern_def.h
+0
-2
No files found.
tests/compile/cnamespec.h
deleted
100644 → 0
View file @
40f6de80
int
c_a
,
c_b
;
tests/compile/cnamespec.pyx
View file @
637d6bd5
# mode: compile
# mode: compile
cdef
extern
from
"cnamespec.h"
:
cdef
extern
from
*
:
"""
int c_a, c_b;
"""
int
a
"c_a"
,
b
"c_b"
int
a
"c_a"
,
b
"c_b"
cdef
struct
foo
"c_foo"
:
cdef
struct
foo
"c_foo"
:
...
...
tests/run/for_from_pyvar_loop_T601.pyx
View file @
637d6bd5
...
@@ -26,7 +26,8 @@ def for_in_plain_ulong():
...
@@ -26,7 +26,8 @@ def for_in_plain_ulong():
print
j
print
j
cdef
extern
from
"for_from_pyvar_loop_T601_extern_def.h"
:
cdef
extern
from
*
:
"""typedef unsigned long Ulong;"""
ctypedef
unsigned
long
Ulong
ctypedef
unsigned
long
Ulong
cdef
Ulong
size
():
cdef
Ulong
size
():
...
...
tests/run/for_from_pyvar_loop_T601_extern_def.h
deleted
100644 → 0
View file @
40f6de80
typedef
unsigned
long
Ulong
;
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