Fix for linked lists
This commit is contained in:
parent
3a63914282
commit
509b73f79c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user