[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.



     \ /
      Last update: 2012-08-02 01:21    [W:0.020 / U:1.396 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site