summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/func_defs_add_param.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/func_defs_add_param.py b/examples/func_defs_add_param.py
index 11cb635..9eb35c9 100644
--- a/examples/func_defs_add_param.py
+++ b/examples/func_defs_add_param.py
@@ -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',