Contents Up << >>

SEEDER_TYPE

This type is an alias for unsigned char. Currently variables of type SEEDER_TYPE should only be assigned one of the following two values: WIN32_SLOW_SEEDER and WIN32_FAST_SEEDER. In an erlier version SEEDER_TYPE was defined to be an enumeration which consisted of the above two constants. This approach has been abandoned in order to prevent incompatibilites if the Winseed DLL is compiled with one compiler and used with another. I have seen the Borland (or Inprise?) compiler choke on a DLL which was compiled by Visual C++ because the two compilers made different assumptions about the size in bytes of a variable of a certain enumeration type. Explicitly defining this type to be an unsigned char prevents these potential problems (As long as the two compilers can agree on the size in bytes of unsigned char :-)).