Skip to content

Commit ba86e27

Browse files
authored
Merge pull request #79 from Solrunn/fix
fix union type declaration
2 parents 78196be + 2a88e27 commit ba86e27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python/futag-package/src/futag/generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def __gen_struct(self, struct_name, struct, gen_info):
673673
"buffer_size": buffer_size
674674
}
675675

676-
def __gen_union(self, param_name, class_record, gen_type_info):
676+
def __gen_union(self, param_name, gen_type_info):
677677
"""Declare and assign value for a union type
678678
679679
Args:
@@ -3339,7 +3339,7 @@ def __gen_struct(self, struct_name, struct, gen_info):
33393339
"buffer_size": buffer_size
33403340
}
33413341

3342-
def __gen_union(self, param_name, class_record, gen_type_info):
3342+
def __gen_union(self, param_name, gen_type_info):
33433343
"""Declare and assign value for a union type
33443344
33453345
Args:

0 commit comments

Comments
 (0)