checkout is going to KILL ME

losing SO MUCH thank fuck i dont close files
This commit is contained in:
lda committed 2024-12-05 17:40:56 +07:00
1 parent efe7783b78
commit d410e6cd5d
3 files changed
+98 -3

No files matched your search

+5 -3
View File
@@ -68,6 +68,8 @@ int adll_remove(dllda *whatif, nodeld *node)
// right of left now is null
if (whatif->end != NULL)
whatif->end->next = NULL;
if (whatif->start == whatif->end)
whatif->end = NULL; // i do hate life do i
}
whatif->size--;
@@ -372,11 +374,11 @@ int dllda_into_list(dllda *l, uintptr_t *arr)
int dllda_from_list(dllda *l, uintptr_t *arr, int size)
{
for (int i = 0; i < size; i++)
// printf("%p %d ", arr[i], *(int *)arr[i]);
dllda_push(l, arr[i]);
// printf("%d ", *(int*) *t);
// printf("%d ", *(int*) *t);
return 0;
}