From 53865aad225ffbe5cf3c42736e5a2095092f9fff Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 21 Jan 2022 21:53:50 +0800 Subject: temporary save point Just to save some work. --- src/list.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index 6ace213..b878f97 100644 --- a/src/list.h +++ b/src/list.h @@ -69,6 +69,9 @@ BOOL list_set_length(List *ls, NUM len); The number of elements of the array will be stored in *NUM. */ void *list_to_array(List *ls, NUM element_bytes, NUM *num); +/* Return the array of the list. */ +void **list_array(List *ls); + /* Create a list from an array. The array will be re-used, so it will be destroyed when the list is -- cgit v1.2.3-18-g5258