OSDN Git Service
(root)
/
joypy
/
Thun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35396c
)
typedef FTW
author
Simon Forman
<sforman@hushmail.com>
Mon, 20 Feb 2023 04:06:07 +0000
(20:06 -0800)
committer
Simon Forman
<sforman@hushmail.com>
Mon, 20 Feb 2023 04:06:07 +0000
(20:06 -0800)
implementations/C/joy.h
patch
|
blob
|
history
diff --git
a/implementations/C/joy.h
b/implementations/C/joy.h
index
b39c263
..
de5c22f
100644
(file)
--- a/
implementations/C/joy.h
+++ b/
implementations/C/joy.h
@@
-42,14
+42,14
@@
typedef struct {
typedef JoyType* JoyTypePtr;
-struct list_node {
+
typedef
struct list_node {
JoyTypePtr head;
JoyList tail;
-};
+}
JoyListNode
;
#define EMPTY_LIST (JoyList)NULL
-#define newJoyList GC_malloc(sizeof(
struct list_n
ode))
+#define newJoyList GC_malloc(sizeof(
JoyListN
ode))
#define newJoyType GC_malloc(sizeof(JoyType))