/**********************************************************************
	"Copyright 1990-2026 Brian MacWhinney. Use is subject to Gnu Public License
	as stated in the attached "gpl.txt" file."
*/


#ifndef _INC_WSTRING
#define _INC_WSTRING

extern "C"
{

	#define is_unCH_alnum iswalnum
	#define is_unCH_alpha iswalpha
	#define is_unCH_digit iswdigit
	#define is_unCH_space iswspace
	#define is_unCH_lower iswlower
	#define is_unCH_upper iswupper
	#define to_unCH_lower towlower
	#define to_unCH_upper towupper

#ifdef UNX

	#define unCH	wchar_t

#elif defined(_MAC_CODE)

	#define unCH	unichar

#elif defined(_WIN32)

	#define unCH	wchar_t

#endif

	extern unCH *cl_T(const char *);

#ifndef _MAX_FNAME
	#define _MAX_FNAME	256
#endif
#ifndef _MAX_PATH
	#define _MAX_PATH	2048
#endif

	#define CLType char

	#define FNSize _MAX_PATH+FILENAME_MAX

#ifdef UNX

	#define FNType char

#elif defined(_MAC_CODE)

	#define FNType char
//	#define FNType UInt8
//	#define isFNTYPEUNIQUE

#elif defined(_WIN32)

//	#define FNType wchar_t
	#define FNType char

#endif


}

#endif  /* _INC_STRING */
