11 #if (XMOG_SUPPORTS_CLR_HOSTING==1) 
   40     static void *       alloc( 
size_t len );
 
   47     static void         free( 
void * ptr );
 
   62     static char *       setString( 
char * & strVar, 
const char * value, 
size_t len = (
size_t)-1 );
 
   64 #   if (XMOG_SUPPORTS_WCHAR_T==1) 
   65     static XMOG_WCHAR * setString( XMOG_WCHAR * & strVar, 
const XMOG_WCHAR * value, 
size_t len = (
size_t)-1 );
 
   82     static unsigned short * setString_u16( 
unsigned short * & strVar, 
const unsigned short * value, 
size_t len = (
size_t)-1 );
 
   90     static size_t           strlen_u16( 
const unsigned short * str );
 
   98     static size_t           strlen_XMOG_WCHAR( 
const XMOG_WCHAR * str );
 
  107     static void             strncpy_u16( 
unsigned short * dest, 
const unsigned short * src, 
size_t len );
 
  109 #   if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1) 
  110     static unsigned short * setString( 
unsigned short * & strVar, 
const unsigned short * value, 
size_t len = (
size_t)-1 );
 
  132     static bool         to_bool( 
const char * strVal );
 
  135 #   if (XMOG_SUPPORTS_WCHAR_T==1) 
  136     static bool         to_bool( 
const XMOG_WCHAR * strVal );
 
  146 #   if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1) 
  147     static bool         to_bool( 
const unsigned short * strVal );
 
  180     static void *       to_funptr( 
const char * strVal );
 
  183 #   if (XMOG_SUPPORTS_WCHAR_T==1) 
  184     static void *       to_funptr( 
const XMOG_WCHAR * strVal );
 
  211 #   if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1) 
  212     static void *       to_funptr( 
const unsigned short * strVal );
 
  247     static char *       concatStrings( 
const char * str1, 
const char * str2 );
 
  259     static bool         endsWith( 
const char * str, 
const char * suffix, 
bool bCaseSensitive = 
true );
 
  267     static int          hasFileAccess( 
const char * name, xmog_privileges priv );
 
  283     static bool         hasProperType( 
const char * name );
 
  288     static bool         isWindows();
 
  293     static int          readLine( FILE * file, 
char * & line );
 
  305     static void         sleep( 
int ms );
 
  314     static unsigned short * utf8_to_u16( 
const char * utf8 );
 
  323     static unsigned char *  utf16_to_u8( 
const unsigned short * utf16 );
 
  325 #   if (XMOG_SUPPORTS_CLR_HOSTING==1) 
  334     static char *       guid_to_utf8( 
char * dest, REFGUID src );
 
  342     static void         utf8_to_guid( GUID & dest, 
const char * src );
 
  350     static void         utf16_to_guid( GUID & dest, 
const unsigned short * src );