From a9559a394a9224e1b88a4cf2154a7946e0c13a18 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 27 Sep 2004 16:04:34 +0000 Subject: [PATCH] Comments. --- src/lib/kernel/hash.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lib/kernel/hash.h b/src/lib/kernel/hash.h index b7eadd3..0dd0c3d 100644 --- a/src/lib/kernel/hash.h +++ b/src/lib/kernel/hash.h @@ -12,11 +12,12 @@ structure that can potentially be in a hash must embed a hash_elem member. All of the hash functions operate on these `hash_elem's. The hash_entry macro allows conversion from a - hash_elem back to a structure object that contains it. + hash_elem back to a structure object that contains it. This + is the same technique used in the linked list implementation. + Refer to lib/kernel/list.h for a detailed explanation. - - -*/ + The FAQ for the VM project contains a detailed example of how + to use the hash table. */ #include #include -- 2.30.2