Fix typos

This commit is contained in:
Laria 2022-01-04 21:29:13 +01:00
parent 00e19ce242
commit 8b5d881ab9

View file

@ -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);
};