1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#ifndef _POINTER_H
#define _POINTER_H
typedef char *string;
string concat (string str1, string str2);
struct _Point {
int x, y;
};
struct _ColourPoint {
int x, y;
unsigned int colour;
};
typedef struct _Point Point;
typedef struct _ColourPoint ColourPoint;
typedef struct _Point *PointPtr;
Point *make_point (int x, int y);
Point *trans_point (Point *pnt, int x, int y);
typedef void (*FunPtrFun) (void *data);
typedef char **stringPtr;
#endif /* !_POINTER_H */
|