[PATCH 0/2] MR308: Add "wine/str.h", use "wine/heap.h" and it in winemenubuilder

Alexandre Julliard (@julliard) wine at gitlab.winehq.org
Fri Jun 24 14:04:12 CDT 2022


It doesn't reduce complexity in the usage to have two sets of functions that do the same thing only with subtle differences.
Obviously you are not going to get rid of the Win32 APIs, so now you'd have to keep both sets of functions in your head to be able to understand the code.

Note also that the vast majority of Unicode functions take character counts, so adding helpers that take byte counts would make it even harder to get right.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/308#note_2668



More information about the wine-devel mailing list