libusb.h   libusb.h 
skipping to change at line 153 skipping to change at line 153
* *
* Internally, LIBUSBX_API_VERSION is defined as follows: * Internally, LIBUSBX_API_VERSION is defined as follows:
* (libusbx major << 24) | (libusbx minor << 16) | (16 bit incremental) * (libusbx major << 24) | (libusbx minor << 16) | (16 bit incremental)
*/ */
#define LIBUSBX_API_VERSION 0x01000102 #define LIBUSBX_API_VERSION 0x01000102
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/** \fn libusb_cpu_to_le16 /**
* \ingroup misc * \ingroup misc
* Convert a 16-bit value from host-endian to little-endian format. On * Convert a 16-bit value from host-endian to little-endian format. On
* little endian systems, this function does nothing. On big endian systems , * little endian systems, this function does nothing. On big endian systems ,
* the bytes are swapped. * the bytes are swapped.
* \param x the host-endian value to convert * \param x the host-endian value to convert
* \returns the value in little-endian byte order * \returns the value in little-endian byte order
*/ */
static inline uint16_t libusb_cpu_to_le16(const uint16_t x) static inline uint16_t libusb_cpu_to_le16(const uint16_t x)
{ {
union { union {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/