vppapigen supports additional types not handled by the papi seializer.
This adds the types for the sake of parity.
Change-Id: Id8efad7f169b5023879935575ace2cc3e9c291d4
Type: feature
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
class BaseTypes(object):
def __init__(self, type, elements=0, options=None):
base_types = {'u8': '>B',
+ 'i8': '>b',
'string': '>s',
'u16': '>H',
+ 'i16': '>h',
'u32': '>I',
'i32': '>i',
'u64': '>Q',
+ 'i64': '>q',
'f64': '=d',
'bool': '>?',
'header': '>HI'}