From 509b73f79c053986a69da5941991830d2fdda36a Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 5 Mar 2024 10:37:51 -0500 Subject: [PATCH] Fix for linked lists --- code/grime_linked_list.odin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/grime_linked_list.odin b/code/grime_linked_list.odin index dcf4fd7..5df853a 100644 --- a/code/grime_linked_list.odin +++ b/code/grime_linked_list.odin @@ -30,19 +30,19 @@ DLL_NodeFull :: struct ( $ Type : typeid ) { DLL_NodePN :: struct ( $ Type : typeid ) { using _ : struct { prev, next : ^Type, - } + }, using _ : struct { left, right : ^Type, - } + }, } DLL_NodeFL :: struct ( $ Type : typeid ) #raw_union { using _ : struct { first, last : ^Type, - } + }, using _ : struct { bottom, top: ^Type, - } + }, } type_is_node :: #force_inline proc "contextless" ( $ Type : typeid ) -> bool