From 8e8d566fc6d7e7d4d0be0db9a2b28cc5cf60661c Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 7 Nov 2014 23:32:33 -0500 Subject: [PATCH] Fix: get struct size in map --- barectf/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/barectf/cli.py b/barectf/cli.py index 63a9aaf..20794a2 100644 --- a/barectf/cli.py +++ b/barectf/cli.py @@ -404,6 +404,7 @@ def _get_integer_size(integer): _obj_size_cb = { + pytsdl.tsdl.Struct: _get_struct_size, pytsdl.tsdl.Integer: _get_integer_size, pytsdl.tsdl.Enum: _get_enum_size, pytsdl.tsdl.FloatingPoint: _get_floating_point_size, -- 2.34.1