ctest.pxd 147 Bytes
Newer Older
Mozul Rémy's avatar
Mozul Rémy committed
1 2 3 4 5 6 7 8 9 10

cdef extern from 'type.h':
  ctypedef struct myctype:
    int i, j
    double s

  void print_type(myctype * ct)

  void increment(myctype * ct)