environment.c: enable core.preloadindex by default
[gitweb.git] / Documentation / technical / api-hashmap.txt
index b2280f1b0d4823b833f4e32b21985235fa252b6d..b977ae8bbb1f46ebb40d1d315e79262fe344f1c2 100644 (file)
@@ -80,7 +80,7 @@ prevent expensive resizing. If 0, the table is dynamically resized.
 If `free_entries` is true, each hashmap_entry in the map is freed as well
 (using stdlib's free()).
 
-`void hashmap_entry_init(void *entry, int hash)`::
+`void hashmap_entry_init(void *entry, unsigned int hash)`::
 
        Initializes a hashmap_entry structure.
 +
@@ -166,7 +166,6 @@ Usage example
 -------------
 
 Here's a simple usage example that maps long keys to double values.
-[source,c]
 ------------
 struct hashmap map;