VTABLE(ListElem)* ListElem_vtable(void) { if(!ListElem_vtable_inited) { *((VTABLE(OOObject)*)&_ListElem_vtable) = *OOObject_vtable(); _ListElem_vtable.free = METHOD(ListElem, free); _ListElem_vtable.init = METHOD(ListElem, init); ListElem_vtable_inited = true; }
VTABLE(HashmapElem)* HashmapElem_vtable(void) { if(!HashmapElem_vtable_inited) { *((VTABLE(OOObject)*)&_HashmapElem_vtable) = *OOObject_vtable(); _HashmapElem_vtable.free = METHOD(HashmapElem, free); _HashmapElem_vtable.init = METHOD(HashmapElem, init); _HashmapElem_vtable.key_equal_to = METHOD(HashmapElem, key_equal_to); _HashmapElem_vtable.key_hash = METHOD(HashmapElem, key_hash); HashmapElem_vtable_inited = true; }