projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove trailing whitespace.
[cython.git]
/
tests
/
compile
/
cast_ctypedef_array_T518.pyx
1
cdef extern from "cast_ctypedef_array_T518_helper.h":
2
cdef struct __foo_struct:
3
int i, j
4
ctypedef __foo_struct foo_t[1]
5
6
void foo_init(foo_t)
7
void foo_clear(foo_t)
8
9
cdef foo_t value
10
foo_init(value)
11
foo_clear(value)
12
13
cdef void *pointer = <void*> value
14
foo_init(<foo_t>pointer)
15
foo_clear(<foo_t>pointer)