Skip to content

Commit

Permalink
Merge pull request #79 from Solrunn/fix
Browse files Browse the repository at this point in the history
fix union type declaration
  • Loading branch information
thientc authored Jun 27, 2023
2 parents 78196be + 2a88e27 commit ba86e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/futag-package/src/futag/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def __gen_struct(self, struct_name, struct, gen_info):
"buffer_size": buffer_size
}

def __gen_union(self, param_name, class_record, gen_type_info):
def __gen_union(self, param_name, gen_type_info):
"""Declare and assign value for a union type
Args:
Expand Down Expand Up @@ -3339,7 +3339,7 @@ def __gen_struct(self, struct_name, struct, gen_info):
"buffer_size": buffer_size
}

def __gen_union(self, param_name, class_record, gen_type_info):
def __gen_union(self, param_name, gen_type_info):
"""Declare and assign value for a union type
Args:
Expand Down

0 comments on commit ba86e27

Please sign in to comment.