Skip to content

Commit 1a6bd38

Browse files
committed
fix: pl_ds.h hm32 reset func (v1.0.1)
1 parent 15c8e2f commit 1a6bd38

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ the API is complete. It just means we won't break what currently exists.
4141
* Library v1.0.2 (pl.h)
4242

4343
## Libraries
44-
* Data Structures v1.0.0 (pl_ds.h)
44+
* Data Structures v1.0.1 (pl_ds.h)
4545
* Json v1.0.3 (pl_json.h)
4646
* Logging v1.0.1 (pl_log.h)
4747
* Math v1.0.0 (pl_math.h)

libs/pl_ds.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55

66
// library version (format XYYZZ)
7-
#define PL_DS_VERSION "1.0.0"
8-
#define PL_DS_VERSION_NUM 10000
7+
#define PL_DS_VERSION "1.0.1"
8+
#define PL_DS_VERSION_NUM 10001
99

1010
/*
1111
Index of this file:
@@ -872,6 +872,7 @@ pl__hm_resize32(plHashMap32* ptHashMap, uint32_t uBucketCount, const char* pcFil
872872
ptHashMap->_auKeys = NULL;
873873
pl_sb_free(ptHashMap->_sbuFreeIndices);
874874
ptHashMap->_uItemCount = 0;
875+
ptHashMap->_uBucketCapacity = 0;
875876
}
876877

877878
if(sbuOldBucket)

0 commit comments

Comments
 (0)