]> git.kaiwu.me - klib.git/commit
Reorganize khash decl macros to separate typedef
authorRussell Belfer <rb@github.com>
Fri, 31 Aug 2012 23:01:27 +0000 (16:01 -0700)
committerRussell Belfer <rb@github.com>
Fri, 31 Aug 2012 23:01:27 +0000 (16:01 -0700)
commitcea612f225516d5706a7aa712538b1f86bb0dba2
tree46e9f3051a617798525646ef4a69ceae6abc0ca6
parent1e0aa7b11d49c2886a0c24a003201d870fb0d1ed
Reorganize khash decl macros to separate typedef

This separates the khash declaration macros into three pieces: one
to declare the type, one for the function prototypes, and one for
the function declarations.  This makes it easier to instantiate a
khash type one time and have a header with just the typedef and
prototypes.

The old macros are redefined in terms of the new ones.
khash.h