lkml.org 
[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 1/4] hashtable: introduce a small and naive hashtable
On Thu, Aug 02, 2012 at 12:41:56AM +0200, Sasha Levin wrote:
> How would your DEFINE_HASHTABLE look like if we got for the simple
> 'struct hash_table' approach?

I think defining a different enclosing anonymous struct which the
requested number of array entries and then aliasing the actual
hash_table to that symbol should work. It's rather horrible and I'm
not sure it's worth the trouble.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-08-02 01:21    [W:0.217 / U:0.424 seconds]
©2003-2014 Jasper Spaans. Advertise on this site