Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
579 B

/*** UNICONV.h ***/
#define CharSizeOf(x) (sizeof(x) / sizeof(*x))
#define ByteCountOf(x) ((x) * sizeof(TCHAR))
#ifdef UNICODE
long MyAtol( const WCHAR *string );
WCHAR *MyItoa( int value, WCHAR *string, int radix );
double MyAtof( const WCHAR *string );
WCHAR *MyGcvt( double value, int digits, WCHAR *buffer );
int MyAtoi( const TCHAR *string );
#else
# define MyAtol(x) atol(x)
# define MyItoa(x,y,z) _itoa(x,y,z)
# define MyAtof(s) atof(s)
# define MyGcvt(v, d, b) _gcvt(v, d, b)
# define MyAtoi(x) atoi(x)
#endif