mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-27 09:50:02 +00:00
oops
This commit is contained in:
+3
-2
@@ -583,8 +583,9 @@ sll__queue_push_nz(
|
||||
inline void
|
||||
sll__queue_push_front_nz(void* nil, void** f, void** l, void* n, void** n_next) {
|
||||
if (check_nil(nil, *f)) {
|
||||
*f = n;
|
||||
*l = n;
|
||||
*f = n;
|
||||
*l = n;
|
||||
*n_next = nil;
|
||||
}
|
||||
else {
|
||||
*n_next = f;
|
||||
|
||||
+1
-1
@@ -695,7 +695,7 @@ str8_list_push_frontf__arena(Arena *arena, String8List *list, char *fmt, ...) {
|
||||
inline String8Node*
|
||||
str8_list_push__ainfo(AllocatorInfo ainfo, String8List* list, String8 string) {
|
||||
String8Node* node = alloc_array_no_zero(ainfo, String8Node, 1);
|
||||
str8_list_push_node_front_set_string(list, node, string);
|
||||
str8_list_push_node_set_string(list, node, string);
|
||||
return(node);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user