type.h 232 Bytes
Newer Older
Mozul Rémy's avatar
Mozul Rémy committed
1

2 3 4 5
typedef enum {
  p1, p2, p3, p4
} param_names;

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

//void init_type(int n, int i, int j);

void print_type(myctype * ct);
void increment(myctype * ct);