darknet  v3
Functions
list.c File Reference
#include <stdlib.h>
#include <string.h>
#include "list.h"
Include dependency graph for list.c:

Go to the source code of this file.

Functions

listmake_list ()
 
void * list_pop (list *l)
 
void list_insert (list *l, void *val)
 
void free_node (node *n)
 
void free_list (list *l)
 
void free_list_contents (list *l)
 
void ** list_to_array (list *l)
 

Function Documentation

◆ free_list()

void free_list ( list l)

Definition at line 67 of file list.c.

◆ free_list_contents()

void free_list_contents ( list l)

Definition at line 73 of file list.c.

◆ free_node()

void free_node ( node n)

Definition at line 57 of file list.c.

◆ list_insert()

void list_insert ( list l,
void *  val 
)

Definition at line 40 of file list.c.

◆ list_pop()

void* list_pop ( list l)

Definition at line 28 of file list.c.

◆ list_to_array()

void** list_to_array ( list l)

Definition at line 82 of file list.c.

◆ make_list()

list* make_list ( )

Definition at line 5 of file list.c.