42 struct i_Hashable * iface;
45 class_ptr
class = GET_CLASS(hashable);
46 iface = (
struct i_Hashable *)
IFACE_GET(
class, &i_Hashable);
47 while ((NULL == iface || NULL == iface->getHash) &&
HAS_PARENT(
class)) {
48 class =
class->parent;
49 iface = (
struct i_Hashable *)
IFACE_GET(
class, &i_Hashable);
51 assert(NULL != iface->getHash);
fptr_hashableGetHash getHash
#define CALL(object, _iface, method,...)
unsigned long hashableGetHash(void *hashable)
void hashableHandleDouble(void *hashable, void *new_hashable)
fptr_hashableHandleDouble handleDouble
#define IFACE_GET(class, iface)
#define HAS_PARENT(class)