Skip to content

Commit

Permalink
Fix examples/func_defs_add_param.py: add missing align parameter (#441
Browse files Browse the repository at this point in the history
)
  • Loading branch information
e-kwsm committed Oct 15, 2021
1 parent 9678405 commit 05dc0cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/func_defs_add_param.py
Expand Up @@ -24,6 +24,7 @@ class ParamAdder(c_ast.NodeVisitor):
def visit_FuncDecl(self, node):
ty = c_ast.TypeDecl(declname='_hidden',
quals=[],
align=[],
type=c_ast.IdentifierType(['int']))
newdecl = c_ast.Decl(
name='_hidden',
Expand Down

0 comments on commit 05dc0cf

Please sign in to comment.