TaPAS
0.2
|
Frequently used prototypes of generic functions. More...
#include <ccl/ccl-common.h>
Go to the source code of this file.
Macros | |
#define | CCL_DEFAULT_HASH_FUNC ((ccl_hash_func *) NULL) |
Special pointer to a ccl_hash_func indicating that a default hashing function should be used. | |
#define | CCL_NO_DELETE_PROC ((ccl_delete_proc *) NULL) |
Special pointer to a ccl_delete_proc indicating that no deletion has to be used. | |
#define | CCL_DEFAULT_EQUALS_FUNC ((ccl_equals_func *) NULL) |
Special pointer to a ccl_equals_func indicating that a default equality test should be used. | |
#define | CCL_DEFAULT_COMPARE_FUNC ((ccl_compare_func *) NULL) |
Special pointer to a ccl_compare_func indicating that a default comparison function should be used. | |
#define | CCL_DEFAULT_DUPLICATE_FUNC ((ccl_duplicate_func *) NULL) |
Special pointer to a ccl_duplcaite_func indicating that a default duplication function should be used. | |
Typedefs | |
typedef unsigned int | ccl_hash_func (const void *ptr) |
Prototype of functions used to compute a hashed value from an abstract object pointed by ptr. | |
typedef void | ccl_delete_proc (void *ptr) |
Prototype of procedures used to release the resources allocated to the object pointed by ptr. | |
typedef int | ccl_equals_func (const void *ptr1, const void *ptr2) |
Prototype of functions used to check the equality of two objects pointed respectively by ptr1 and ptr2. More... | |
typedef int | ccl_compare_func (const void *ptr1, const void *ptr2) |
Prototype of functions used to order two objects pointed respectively by ptr1 and ptr2. More... | |
typedef void * | ccl_duplicate_func (void *ptr) |
Prototype of functions used to duplicate an object pointed by ptr. | |
Frequently used prototypes of generic functions.
Definition in file ccl-protos.h.
typedef int ccl_compare_func(const void *ptr1, const void *ptr2) |
Prototype of functions used to order two objects pointed respectively by ptr1 and ptr2.
Definition at line 73 of file ccl-protos.h.
typedef int ccl_equals_func(const void *ptr1, const void *ptr2) |
Prototype of functions used to check the equality of two objects pointed respectively by ptr1 and ptr2.
Definition at line 57 of file ccl-protos.h.