projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
disable raise ... from ... unittest in py3 (but other syntax checks still work)
[cython.git]
/
tests
/
compile
/
cpp_structs.pyx
1
cdef extern from "point.h" namespace "geometry":
2
3
cdef struct Point:
4
double x
5
double y
6
int color
7
8
cdef Point p = Point(0.0, 0.0, 0)
9
the_point = p