vppapigen: endian generation for vla for non u32 61/41561/3
authorOle Troan <[email protected]>
Tue, 10 Sep 2024 21:37:56 +0000 (23:37 +0200)
committerAndrew Yourtchenko <[email protected]>
Thu, 12 Sep 2024 12:56:56 +0000 (12:56 +0000)
commit9a3f387c3010e6beecb14bac595cad306cc8e661
treeb42cbbbf8aa3bd57441721c1309110011f6cfc36
parent3b5a013103f0eff44afbdc4937407a82931edd00
vppapigen: endian generation for vla for non u32

The endian function for VLAs assumed length field to be of type u32.
That failed for APIs using different integer width.

Type: fix
Change-Id: I6ecaabb4563c8bafeb100a4c6c1eee9a08e6cabf
Signed-off-by: Ole Troan <[email protected]>
src/tools/vppapigen/vppapigen_c.py