From 498e984690895987067743bb94ee83d49da7ecb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 26 Feb 2019 11:32:02 +0100 Subject: Fix memmory errors. --- linked_list.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linked_list.h') diff --git a/linked_list.h b/linked_list.h index a17bd797..ec1e17e0 100644 --- a/linked_list.h +++ b/linked_list.h @@ -63,6 +63,10 @@ int EMPTY(LLIST(TYPE)) ( LLIST(TYPE)* llist ); */ int RESET(LLIST(TYPE)) ( LLIST(TYPE)* llist ); +/* + * Takes to lists, and merges them into a single one. Destroys new_ in + * the process. + */ LLIST(TYPE)* RESOLVE(LLIST(TYPE)) (LLIST(TYPE)* dest, LLIST(TYPE)* new_); FMT_F(LLIST(TYPE)); -- cgit v1.2.3