This adds short and long versions of the f_array_length typedef.
Having this provides additional context granularity so that the size of arrays can be more easily adjusted to suit ones needs at compile time.
// Defines a variable to be used by arrays.
#ifndef _di_f_array_length_
- typedef f_u_long f_array_length;
+ typedef f_u_long f_array_length;
+ typedef f_u_int f_array_length_short;
+ typedef f_u_long_long f_array_length_long;
- #define f_array_length_initialize 0
+ #define f_array_length_initialize 0
+ #define f_array_length_short_initialize f_array_length_initialize
+ #define f_array_length_long_initialize f_array_length_initialize
#endif // _di_f_array_length_
#ifdef __cplusplus