Commit 10210a70 authored by dbarbera's avatar dbarbera
Browse files

Fixed error in SequenceOf type generation

parent 316b1c00
......@@ -750,7 +750,7 @@ def _generate_type(ty):
elem_ty = _generate_type(basic_ty.type)
array_ty = core.Type.array(elem_ty, max_size)
struct = StructType(ty.ReferencedTypeName, [['_', array_ty]])
struct = StructType(ty.ReferencedTypeName, ['_'], [array_ty])
g.structs[ty.ReferencedTypeName] = struct
return struct.ty
elif basic_ty.kind == 'SequenceType':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment