[MPlayer-dev-eng] [PATCH] Implement a few Unicode versions of Win32 functions

Steinar H. Gunderson sgunderson at bigfoot.com
Sun Mar 7 11:44:40 CET 2010


On Sun, Mar 07, 2010 at 12:12:19AM +0100, Steinar H. Gunderson wrote:
>> I don't like the duplication, something like
>> char ascii_name[256];
>> char *aname = NULL;
>> if (name) {
>>     WideCharToMultiByte()
>>     aname = ascii_name;
>> }
>> expCreateEventA()
>> 
>> Seems preferable to me.
> Sure, I can change to that.

New patch attached.

/* Steinar */
-- 
Homepage: http://www.sesse.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicode-win32-functions-v3.diff
Type: text/x-diff
Size: 4038 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100307/5461df14/attachment.diff>


More information about the MPlayer-dev-eng mailing list