mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Swap order of prev and next
This commit is contained in:
@@ -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