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
Boxiang Sun
cython
Commits
6f343d9c
Commit
6f343d9c
authored
Feb 24, 2012
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better tests for ext module C-API headers
parent
dc3d4708
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
tests/build/module_api.srctree
tests/build/module_api.srctree
+26
-0
No files found.
tests/build/module_api.srctree
View file @
6f343d9c
...
...
@@ -29,6 +29,25 @@ cdef api float flt1
cdef public api int int2
cdef public api flt flt2
cdef class A0:
pass
ctypedef api class A1 [
type A1_Type,
object A1Object
]:
pass
ctypedef public api class A2 [
type A2_Type,
object A2Object
]:
pass
cdef A0 a0
cdef api A1 a1
cdef public api A2 a2
######## a.pyx ########
cdef int int0 = 1, int1 = 1, int2 = 1
...
...
@@ -46,6 +65,13 @@ def get_int():
def get_flt():
return (flt0, flt1, flt2, flt3, flt4)
cdef class A0: pass
cdef class A1: pass
cdef class A2: pass
cdef A0 a0 = A0()
cdef api A1 a1 = A1()
cdef public api A2 a2 = A2()
######## b.pyx ########
...
...
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