RE: [GD-General] Feedback wanted on POSH
Brought to you by:
vexxed72
From: Crosbie F. <cr...@cy...> - 2003-11-19 11:51:24
|
> From: Brian Hook > > The second requirements are provided (in theory) by ANSI C via the > standard primitive type declarations. I've never tried, but is it possible and advisable to do this: typedef short int; // ?? Maybe it might be a useful clarification if example definitions of policy determined types were provided, if only so that users of poshlib would appreciate the distinction? #if defined(POSH_INTEGER) typedef POSH_INTEGER posh_integer; // Compile time option to specify the unsized integer #else typedef int posh_integer; // Default #endif #if defined(POSH_FLOAT) typedef POSH_FLOAT posh_float; // Compile time option to specify the unsized float #else typedef float posh_float; // Default #endif |