zephyr/include/usb/class
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
..
usb_cdc.h usb: cdc: Remove duplicated class code 2018-02-05 06:39:50 -08:00
usb_hid.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
usb_msc.h