28 Nov
2022
28 Nov
'22
5:35 p.m.
Alex Henrie (@alexhenrie) commented about include/winbase.h:
/* Wine internal functions */
-extern char * CDECL wine_get_unix_file_name( LPCWSTR dos ); -extern WCHAR * CDECL wine_get_dos_file_name( LPCSTR str ); +extern char * CDECL wine_get_unix_file_name( LPCWSTR dos ) __WINE_DEALLOC(HeapFree,3) __WINE_MALLOC; +extern WCHAR * CDECL wine_get_dos_file_name( LPCSTR str ) __WINE_DEALLOC(HeapFree,3) __WINE_MALLOC;
If you're touching these lines, now would be a good time to change `LPCSTR` to `const char *` and `LPCWSTR` to `const WCHAR *`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1575#note_17695