diff options
Diffstat (limited to 'test cases/cython/1 basic/libdir/cstorer.pxd')
-rw-r--r-- | test cases/cython/1 basic/libdir/cstorer.pxd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/cython/1 basic/libdir/cstorer.pxd b/test cases/cython/1 basic/libdir/cstorer.pxd new file mode 100644 index 0000000..7b730fc --- /dev/null +++ b/test cases/cython/1 basic/libdir/cstorer.pxd @@ -0,0 +1,9 @@ + +cdef extern from "storer.h": + ctypedef struct Storer: + pass + + Storer* storer_new(); + void storer_destroy(Storer *s); + int storer_get_value(Storer *s); + void storer_set_value(Storer *s, int v); |