mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-25 14:00:18 +00:00
Update smallmap.h
This commit is contained in:
parent
563ae74a19
commit
72215f1a05
@ -45,6 +45,7 @@ void SMALLMAP_METHOD(clear)(SMALLMAP* self);
|
|||||||
|
|
||||||
void SMALLMAP_METHOD(ctor)(SMALLMAP* self) {
|
void SMALLMAP_METHOD(ctor)(SMALLMAP* self) {
|
||||||
c11_vector__ctor(self, sizeof(KV));
|
c11_vector__ctor(self, sizeof(KV));
|
||||||
|
c11_vector__reserve(self, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SMALLMAP_METHOD(dtor)(SMALLMAP* self) {
|
void SMALLMAP_METHOD(dtor)(SMALLMAP* self) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user