11 #define TOSTR(name, type, obj) \ 12 char name[TOSTR_##type##_size]; \ 13 TOSTR_##type(obj, name) 15 #define TOWSTR(name, type, obj) \ 16 wchar_t name[TOSTR_##type##_size]; \ 18 char tmp[TOSTR_##type##_size]; \ 19 TOSTR_##type(obj, tmp); \ 20 swprintf(name, TOSTR_##type##_size, L"%s", tmp); \