Don't output "decl" attribute into the wrapper declarations
This doesn't make any sense as "decl" is a SWIG type string and not a C declaration.
This commit is contained in:
parent
1f6ce1ed64
commit
200ea0e37d
1 changed files with 1 additions and 1 deletions
|
|
@ -1320,7 +1320,7 @@ ready:
|
|||
String* const ntype = nodeType(node);
|
||||
if (Cmp(ntype, "cdecl") == 0) {
|
||||
String* const var_decl = make_var_decl(node);
|
||||
Printv(f_wrappers_types, cindent, Getattr(node, "decl"), var_decl, ";\n", NIL);
|
||||
Printv(f_wrappers_types, cindent, var_decl, ";\n", NIL);
|
||||
Delete(var_decl);
|
||||
} else if (Cmp(ntype, "enum") == 0) {
|
||||
emit_one(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue