From 168af40fe9a3cc81c6ee16b3e81f154780c36bdb Mon Sep 17 00:00:00 2001 From: Scheaven <xuepengqiang> Date: 星期四, 03 六月 2021 15:03:27 +0800 Subject: [PATCH] up new v4 --- lib/detecter_tools/darknet/list.h | 68 +++++++++++++++++----------------- 1 files changed, 34 insertions(+), 34 deletions(-) diff --git a/lib/detecter_tools/darknet/list.h b/lib/detecter_tools/darknet/list.h index 5820298..182648f 100644 --- a/lib/detecter_tools/darknet/list.h +++ b/lib/detecter_tools/darknet/list.h @@ -1,34 +1,34 @@ -#ifndef LIST_H -#define LIST_H - -typedef struct node{ - void *val; - struct node *next; - struct node *prev; -} node; - -typedef struct list{ - int size; - node *front; - node *back; -} list; - -#ifdef __cplusplus -extern "C" { -#endif -list *make_list(); -int list_find(list *l, void *val); - -void list_insert(list *, void *); - -void **list_to_array(list *l); - -void free_list_val(list *l); -void free_list(list *l); -void free_list_contents(list *l); -void free_list_contents_kvp(list *l); - -#ifdef __cplusplus -} -#endif -#endif +#ifndef LIST_H +#define LIST_H + +typedef struct node{ + void *val; + struct node *next; + struct node *prev; +} node; + +typedef struct list{ + int size; + node *front; + node *back; +} list; + +#ifdef __cplusplus +extern "C" { +#endif +list *make_list(); +int list_find(list *l, void *val); + +void list_insert(list *, void *); + +void **list_to_array(list *l); + +void free_list_val(list *l); +void free_list(list *l); +void free_list_contents(list *l); +void free_list_contents_kvp(list *l); + +#ifdef __cplusplus +} +#endif +#endif -- Gitblit v1.8.0