typedef FTW
This commit is contained in:
@@ -42,14 +42,14 @@ typedef struct {
|
|||||||
|
|
||||||
typedef JoyType* JoyTypePtr;
|
typedef JoyType* JoyTypePtr;
|
||||||
|
|
||||||
struct list_node {
|
typedef struct list_node {
|
||||||
JoyTypePtr head;
|
JoyTypePtr head;
|
||||||
JoyList tail;
|
JoyList tail;
|
||||||
};
|
} JoyListNode;
|
||||||
|
|
||||||
#define EMPTY_LIST (JoyList)NULL
|
#define EMPTY_LIST (JoyList)NULL
|
||||||
|
|
||||||
#define newJoyList GC_malloc(sizeof(struct list_node))
|
#define newJoyList GC_malloc(sizeof(JoyListNode))
|
||||||
#define newJoyType GC_malloc(sizeof(JoyType))
|
#define newJoyType GC_malloc(sizeof(JoyType))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user