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
e640b5ef
Commit
e640b5ef
authored
Oct 15, 2009
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testcase for #245
parent
8c975f94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
tests/run/crashT245.h
tests/run/crashT245.h
+4
-0
tests/run/crashT245.pyx
tests/run/crashT245.pyx
+12
-0
tests/run/crashT245_pxd.pxd
tests/run/crashT245_pxd.pxd
+4
-0
No files found.
tests/run/crashT245.h
0 → 100644
View file @
e640b5ef
typedef
struct
{
int
x
}
MyStruct
;
tests/run/crashT245.pyx
0 → 100644
View file @
e640b5ef
cimport
crashT245_pxd
"""
>>> f()
{'x': 1}
"""
def
f
():
cdef
crashT245_pxd
.
MyStruct
s
s
.
x
=
1
print
s
tests/run/crashT245_pxd.pxd
0 → 100644
View file @
e640b5ef
cdef
extern
from
"crashT245.h"
:
ctypedef
struct
MyStruct
:
int
x
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