2013/5/29 Pete Batard <p...@akeo.ie>:
> On 2013.05.28 11:25, Hans de Goede wrote:
>> +int LIBUSB_CALL libusb_set_strerror_locale(const char *locale);
>> +const char * LIBUSB_CALL libusb_strerror(enum libusb_error errcode);
>
> Why not go:
> const char * LIBUSB_CALL libusb_strerror(enum libusb_error errcode,
> const char *locale);
> ?

Because very few people will need to change the locale parameter for
different calls to libusb_strerror()?
Because it is adding complexity to the API comprehension?
Because the API will not look like the ISO C99 strerror(3) function any more?

Bye

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to