zephyr/include/usb
Michael Hope 5f67a6119d include: improve compatibility with C++ apps.
This patch lets a C++ application use more of Zephyr by adding guards
and changeing some constructs to the C++11 equivalent.

Changes include:

- Adding guards
- Switching to static_assert
- Switching to a template for ARRAY_SIZE as g++ doesn't have the
  builtin.
- Re-ordering designated initialisers to match the struct field order
  as G++ only supports simple designated initialisers.

Signed-off-by: Michael Hope <mlhx@google.com>
2018-04-09 23:21:52 -04:00
..
class include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
usb_common.h usb: Remove duplicated ACM_SUBCLASS definition 2018-04-04 08:21:06 -04:00
usb_device.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
usbstruct.h usb: hid: Remove duplicated definitions 2018-02-05 06:39:50 -08:00