diff options
Diffstat (limited to 'src/vpp-api/python/vpp_papi')
-rw-r--r-- | src/vpp-api/python/vpp_papi/vpp_serializer.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vpp-api/python/vpp_papi/vpp_serializer.py b/src/vpp-api/python/vpp_papi/vpp_serializer.py index be5c74c150a..825b8d8356f 100644 --- a/src/vpp-api/python/vpp_papi/vpp_serializer.py +++ b/src/vpp-api/python/vpp_papi/vpp_serializer.py @@ -143,9 +143,11 @@ class String(object): return (x2.decode('utf8'), size + length_field_size) -types = {'u8': BaseTypes('u8'), 'u16': BaseTypes('u16'), +types = {'u8': BaseTypes('u8'), 'i8': BaseTypes('i8'), + 'u16': BaseTypes('u16'), 'i16': BaseTypes('i16'), 'u32': BaseTypes('u32'), 'i32': BaseTypes('i32'), - 'u64': BaseTypes('u64'), 'f64': BaseTypes('f64'), + 'u64': BaseTypes('u64'), 'i64': BaseTypes('i64'), + 'f64': BaseTypes('f64'), 'bool': BaseTypes('bool'), 'string': String} class_types = {} |