Mercurial > hg > th-libs
diff th_datastruct.h @ 751:3091fd1987e9
Rename function argument.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Jan 2023 09:49:13 +0200 |
parents | ca837a4417f5 |
children | 64cb2b1777a9 |
line wrap: on
line diff
--- a/th_datastruct.h Fri Dec 30 09:12:47 2022 +0200 +++ b/th_datastruct.h Mon Jan 09 09:49:13 2023 +0200 @@ -129,7 +129,7 @@ int th_ptrlist_init(th_ptrlist_t *list, const size_t ninitial, const size_t ngrow); int th_ptrlist_new(th_ptrlist_t **list, const size_t ninitial, const size_t ngrow); -int th_ptrlist_append(th_ptrlist_t *list, void *str); +int th_ptrlist_append(th_ptrlist_t *list, void *data); void th_ptrlist_free(th_ptrlist_t *list, void (*mdeallocator)(void *data));