dtype.pxd 461 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

cdef extern from 'dtype.h':

  ctypedef struct C_param:
    int itype
    double val
    char field[30]

  ctypedef struct C_datatype:
    char nickname[30]
    double rsingle
    int isingle
    int itab[2] #contain sizes of rtab and weird in that order
    double * rtab
    C_param * weird

  void getOne(int id, C_datatype * d)
18 19
  C_datatype * addOne(char * nn, double rv, int iv)

20 21
  void display(int id)
  void change(int id, char * nn, double rv, int iv)