From 60280087c720bdb7be69db6ed8ca6c05e829595f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 27 Oct 2024 20:37:57 +0100 Subject: [PATCH] Fix default of FULL_P --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c0e8807..c4f489aa 100644 --- a/README.md +++ b/README.md @@ -664,7 +664,7 @@ Other documented operators are: * `RESET(obj)`: Reset the object to its initialized state (Emptying the object if it is a container object). * `EMPTY_P(obj)` --> `bool`: Test if the container object is empty (true) or not. -* `FULL_P(obj)` --> `bool`: Test if the container object is full (true) or not. +* `FULL_P(obj)` --> `bool`: Test if the container object is full (true) or not. Default if not defined is to be not full. * `GET_SIZE (container)` --> `size_t`: Return the number of elements in the container object. * `HASH (obj)` --> `size_t`: return a hash of the object (not a secure hash but one that is usable for a hash table). Default is performing a hash of the memory representation of the object. This default implementation is invalid if the object holds pointer to other objects or has spare fields. * `EQUAL(obj1, obj2)` --> `bool`: Compare the two objects for equality. Return true if both objects are equal, false otherwise. Default is using the C comparison operator. 'obj1' may be an OOR object (Out of Representation) for the Open Addressing dictionary (see `OOR_*` operators): in such cases, it shall return false.