blob: 72892495a20d0d54b795c7710b0d085e1998f1f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef VECTOR
#define VECTOR
typedef struct Vector {
int mx;
int my;
} vector_t;
vector_t init_vector(int mx, int my);
typedef struct VectorP {
vector_t* vectors;
int length;
} vectorp_t;
vectorp_t init_vectorp(vector_t* vectors, int length);
#endif
|