collection of regression tests (based on Greg's test suite)
[cython.git] / tests / compile / ia_cdefblock.pyx
1 cdef:
2
3     struct PrivFoo:
4         int i
5
6     int priv_i
7     
8     void priv_f():
9         global priv_i
10         priv_i = 42
11
12 cdef public:
13
14     struct PubFoo:
15         int i
16     
17     int pub_v
18     
19     void pub_f():
20         pass
21     
22     class PubBlarg [object PubBlargObj, type PubBlargType]:
23         pass
24
25 cdef api:
26
27     void api_f():
28         pass
29
30 cdef public api:
31
32     void pub_api_f():
33         pass