Оновити 'cv4/list_ops.c'

This commit is contained in:
Kapliuk 2024-03-13 16:19:24 +00:00
parent 94f39b89ee
commit 00566020a8

View File

@ -1,4 +1,5 @@
#include "list_ops.h"
#include <string.h>
list_t *new_list(size_t length, list_element_t elements[]){
list_t* list = (list_t*)malloc(sizeof(list_t) + length * sizeof(list_element_t));