All pastes #949308 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-03-19 18:51 UTC
rendered paste body
typedef struct point {
	short x;
	short y;
} point;

typedef struct rock {
	point loc;
	short health;
} rock;

typedef struct llnode {
	struct llnode *next;
	union data {
		segment hole;
		point location;
	};
} llnode;

typedef struct rocknode {
	llnode node;
	short health;
} rocknode;