From 8b5d881ab99b92f96a6d10bcde63692dc3ef8493 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Tue, 4 Jan 2022 21:29:13 +0100 Subject: [PATCH] Fix typos --- src/hashmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hashmap.h b/src/hashmap.h index 14d8a63..976047d 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -32,14 +32,14 @@ struct apfl_hashmap_callbacks { void (*destroy_key) (void *opaque, void *key); // Destroy a value. Does nothing, if not provided. - void (*destroy_value)(void *opaque, void *key); + void (*destroy_value)(void *opaque, void *value); // Copies a key. Returns true on success, false on failure. - // If not provided, the bytes will be cpiled with memcpy. + // If not provided, the bytes will be copied with memcpy. bool (*copy_key) (void *opaque, void *dest, const void *src); // Copies a value. Returns true on success, false on failure. - // If not provided, the bytes will be cpiled with memcpy. + // If not provided, the bytes will be copied with memcpy. bool (*copy_value) (void *opaque, void *dest, const void *src); };