Hello,

2012/8/31 Pete Batard <p...@akeo.ie>:
> OK, let's try to strike the iron while it's hot, and get an idea of how
> we could implement these platform/OS specific calls. And since I'm
> interested in finding out if there exists a best approach for these kind
> of implementations, I'm gonna use a fairly concrete example of what we
> may want to contend with, so that it's hopefully easier to point out
> what works or doesn't work.

If I understand correctly you want to provide functions/services
specific to an OS. The same function would not be available for
another OS. Am I right?

How our users are supposed to use such functions in their code?

#ifdef OS1
use the specific function
#else
#error "The program can only be compiled on OS1"
#endif

Or the function would be available for all the supported OS but would
return LIBUSB_ERROR_NOT_SUPPORTED?

Regards,

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to