vapi: packed enum type generation 43/26643/4
authorNeale Ranns <nranns@cisco.com>
Wed, 22 Apr 2020 16:06:45 +0000 (16:06 +0000)
committerNeale Ranns <nranns@cisco.com>
Fri, 24 Apr 2020 07:22:32 +0000 (07:22 +0000)
commitb5c0d35f9445d4d99f2c5c7bd3175e68721a8ee5
treecc9bac6c400033ae6b7b0de36bcfc480d810cf5f
parent0e2751cc1d246145cee6b1e4a588c30270c7ce21
vapi: packed enum type generation

Type: fix

if the ,api/.json specifies that a enum should be u8/u16 that the
generated c enum needs to be packed.

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ia0497b45e4c510a5c63cd02e966769bf20686838
src/vpp-api/vapi/vapi_c_gen.py