summaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h3
1 files changed, 3 insertions, 0 deletions
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