Browse Source

Small documentation correction

Rafael Sachetto 6 năm trước cách đây
mục cha
commit
89bccdd567
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      stb_ds.h

+ 2 - 1
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