cpython/Objects/stringlib/ucs2lib.h

/* this is sort of a hack.  there's at least one place (formatting
   floats) where some stringlib code takes a different path if it's
   compiled as unicode. */
#define STRINGLIB_IS_UNICODE

#define FASTSEARCH
#define STRINGLIB
#define STRINGLIB_OBJECT
#define STRINGLIB_SIZEOF_CHAR
#define STRINGLIB_MAX_CHAR
#define STRINGLIB_CHAR
#define STRINGLIB_TYPE_NAME
#define STRINGLIB_PARSE_CODE
#define STRINGLIB_ISSPACE
#define STRINGLIB_ISLINEBREAK
#define STRINGLIB_ISDECIMAL
#define STRINGLIB_TODECIMAL
#define STRINGLIB_STR
#define STRINGLIB_LEN
#define STRINGLIB_NEW
#define STRINGLIB_CHECK
#define STRINGLIB_CHECK_EXACT
#define STRINGLIB_MUTABLE
#if SIZEOF_WCHAR_T == 2
#define STRINGLIB_FAST_MEMCHR
#endif

#define STRINGLIB_TOSTR
#define STRINGLIB_TOASCII