rcx

miscellaneous C library
git clone git://git.rr3.xyz/rcx
Log | Files | Refs | README | LICENSE

types.h (561B)


      1 #ifdef TABLE_SPEC
      2 /* The spec(ification) struct is for passing around settings specific to a
      3  * table instantiation. Fields are omitted or included according to whether
      4  * certain TABLE_... macros are assigned non-default values when a table is
      5  * specialized; see macros.h for details. */
      6 /* TODO: Add PAGE_LEN and LF_{NUM,DEN} to the spec struct so that they are
      7  * optionally controllable at run-time? */
      8 typedef struct {
      9 	TABLE_KSIZE_FIELD
     10 	TABLE_VSIZE_FIELD
     11 	TABLE_EQ_FIELD
     12 	TABLE_HASH_FIELD
     13 	TABLE_ALLOCZ_FIELD
     14 	TABLE_FREE_FIELD
     15 } TABLE_SPEC_NAME;
     16 #endif