Update 'cv4/list_ops.c'
This commit is contained in:
parent
d1b2c5c570
commit
da10364e62
@ -1,6 +1,8 @@
|
||||
#include "list_ops.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
list_t *new_list(size_t length, list_element_t elements[]) {
|
||||
list_t *list = malloc(sizeof(list_t) + length * sizeof(list_element_t));
|
||||
|
Loading…
Reference in New Issue
Block a user