瀏覽代碼

Small documentation correction

Rafael Sachetto 6 年之前
父節點
當前提交
89bccdd567
共有 1 個文件被更改,包括 2 次插入1 次删除
  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