From 89bccdd5676b2c6c718868cef98b8c6a1f9a577e Mon Sep 17 00:00:00 2001 From: Rafael Sachetto Date: Tue, 26 Feb 2019 09:37:16 -0300 Subject: [PATCH] Small documentation correction --- stb_ds.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stb_ds.h b/stb_ds.h index 96c64d5..fff612e 100644 --- a/stb_ds.h +++ b/stb_ds.h @@ -212,7 +212,8 @@ DOCUMENTATION shputs T hmputs(T*, T item) T shputs(T*, T item) - Returns the structure corresponding to 'key' in the hashmap. + Inserts a struct with T.key and T.value into the hashmap. If the struct is already + present in the hashmap, updates it. hmdel shdel