From 21ccbaa562a5ae91fccbb6678009b519df3b8c3a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 22 Jan 2026 18:37:30 +0000 Subject: [PATCH] Reference prick_vec in prick_darr --- prick_darr.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prick_darr.h b/prick_darr.h index 17304e6..3ca74ec 100644 --- a/prick_darr.h +++ b/prick_darr.h @@ -19,6 +19,9 @@ area on the heap and copy over the data. Therefore, if you're expecting the array to grow during the runtime of your program, you should ensure any pointers to components of it are updated as they will otherwise be dangling. + + You may want to consider prick_vec.h if you want to more explicit control of + the dynamic array, and would like a stable pointer to the container itself. */ #ifndef PRICK_DARR_H