summaryrefslogtreecommitdiff
path: root/test/pkbktarr.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-06-04 16:45:11 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-06-04 17:39:05 -0400
commit15518175c10b9bf18b21dac0a5b3d6472b525968 (patch)
treeda17046bb9b5d1ebb56b34586f8be63c9c781a01 /test/pkbktarr.cpp
parent61cd9162df6424d3a4f427daa1d69476b913aca6 (diff)
pkmem.h: debug on bucket + change signatures
Diffstat (limited to 'test/pkbktarr.cpp')
-rw-r--r--test/pkbktarr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/pkbktarr.cpp b/test/pkbktarr.cpp
index 45d2ba2..c4ce85c 100644
--- a/test/pkbktarr.cpp
+++ b/test/pkbktarr.cpp
@@ -7,15 +7,15 @@
void test_spinup(struct pk_membucket **bkt_buckets, struct pk_membucket **bkt_data)
{
- *bkt_buckets = pk_bucket_create("buckets", 1 << 16, PK_MEMBUCKET_FLAG_NONE);
- *bkt_data = pk_bucket_create("data", 1 << 16, PK_MEMBUCKET_FLAG_NONE);
+ *bkt_buckets = pk_mem_bucket_create("buckets", 1 << 16, PK_MEMBUCKET_FLAG_NONE);
+ *bkt_data = pk_mem_bucket_create("data", 1 << 16, PK_MEMBUCKET_FLAG_NONE);
}
void test_teardown(struct pk_membucket **bkt_buckets, struct pk_membucket **bkt_data)
{
// reverse order
- pk_bucket_destroy(*bkt_data);
- pk_bucket_destroy(*bkt_buckets);
+ pk_mem_bucket_destroy(*bkt_data);
+ pk_mem_bucket_destroy(*bkt_buckets);
*bkt_buckets = nullptr;
*bkt_data = nullptr;
}