ctest.pxd 222 Bytes
Newer Older
Mozul Rémy's avatar
Mozul Rémy committed
1 2

cdef extern from 'type.h':
3 4 5 6

  ctypedef enum param_names:
    p1, p2, p3, p4

Mozul Rémy's avatar
Mozul Rémy committed
7 8
  ctypedef struct myctype:
    int i, j
9 10
    double * mat
    double params[4]
Mozul Rémy's avatar
Mozul Rémy committed
11 12 13 14 15

  void print_type(myctype * ct)

  void increment(myctype * ct)