Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan proto.c slab.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Sat, 3 Jul 2004 19:28:11 -0500 (CDT)
guy         2004/07/03 19:28:11 CDT

  Modified files:
    epan                 proto.c slab.h 
  Log:
  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.
  
  Revision  Changes    Path
  1.133     +11 -11    ethereal/epan/proto.c
  1.3       +24 -12    ethereal/epan/slab.h