Fix for linked lists

This commit is contained in:
Edward R. Gonzalez 2024-03-05 10:37:51 -05:00
parent 3a63914282
commit 509b73f79c

View File

@ -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