vapi: packed enum type generation 07/28407/1
authorNeale Ranns <nranns@cisco.com>
Wed, 22 Apr 2020 16:06:45 +0000 (16:06 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Aug 2020 17:20:47 +0000 (17:20 +0000)
commit66cb17227ca7410420123f432bb6669272c68b9f
treee19fd8ffed93631be9964ba6a3e7eb76e211239b
parent4e138bf173ed81224448dfe7bacd310d5bf34013
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
(cherry picked from commit b5c0d35f9445d4d99f2c5c7bd3175e68721a8ee5)
src/vpp-api/vapi/vapi_c_gen.py