Make the "SLAB_ALLOC()" and "SLAB_FREE()" macros take the type of the
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Jul 2004 00:28:11 +0000 (00:28 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Jul 2004 00:28:11 +0000 (00:28 +0000)
commitc5dde8bff9b1627a3ff03cbbc9375868def85541
tree04c33be84fe9c746bb67e0931ccaaec48b669366
parent06ad4ffeb1fd8d012100ff86e1ceda996c7575be
Make the "SLAB_ALLOC()" and "SLAB_FREE()" macros take the type of the
object being allocated, rather than the name of the free list, as an
argument (with the name of the free list constructed from the name of
the type), and add macros to define and declare the free list, also
taking the type of the object being allocated.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11305 f5534014-38df-0310-8fa8-9805f1628bb7
epan/ftypes/ftypes.c
epan/ftypes/ftypes.h
epan/proto.c
epan/slab.h