RetroArch
Macros
win32.h File Reference

Go to the source code of this file.

Macros

#define CHAR_TO_WCHAR_ALLOC(s, ws)   char *ws = (NULL != s && s[0] ? strdup(s) : NULL);
 
#define WCHAR_TO_CHAR_ALLOC(ws, s)   char *s = (NULL != ws && ws[0] ? strdup(ws) : NULL);
 

Macro Definition Documentation

◆ CHAR_TO_WCHAR_ALLOC

#define CHAR_TO_WCHAR_ALLOC (   s,
  ws 
)    char *ws = (NULL != s && s[0] ? strdup(s) : NULL);

◆ WCHAR_TO_CHAR_ALLOC

#define WCHAR_TO_CHAR_ALLOC (   ws,
  s 
)    char *s = (NULL != ws && ws[0] ? strdup(ws) : NULL);