Swap order of prev and next
This commit is contained in:
1 parent
984a95b8c7
commit
53380632a1
1 file changed
+1
-1
@@ -20,7 +20,7 @@ List :: struct {
|
|||||||
|
|
||||||
|
|
||||||
Node :: struct {
|
Node :: struct {
|
||||||
next, prev: ^Node,
|
prev, next: ^Node,
|
||||||
}
|
}
|
||||||
|
|
||||||
push_front :: proc(list: ^List, node: ^Node) {
|
push_front :: proc(list: ^List, node: ^Node) {
|
||||||
|
|||||||
Reference in new issue
Block a user