[vlc-devel] [DISCUSSION] To use or not to use EMPTY_STR?

Donald Campbell donaciano2000 at gmail.com
Fri Aug 5 14:47:07 CEST 2016


It's not Unicode safe. A UTF-16 BOM may begin with 0x00 depending on system endian.

> On Aug 5, 2016, at 8:34 AM, Francois Cartegnie <fcvlcdev at free.fr> wrote:
> 
>> Le 05/08/2016 à 14:20, Filip Roséen a écrit :
>> Hi guys and gals,
>> 
>>    #define EMPTY_STR(str) (!str || !*str)
> 
>>  - If it shall not be used for future implementations, is it then also a
>>    valid stand-point to mark it as *deprecated* and remove usage from
>>    legacy code?
> 
> Outside of an error prone name,
> what's the point against that macro ?
> 
> Francois
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list